Closed (fixed)
Project:
Redirect
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
8 Aug 2019 at 01:24 UTC
Updated:
22 Aug 2023 at 21:49 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
bertonha commentedPlease kindly check the patch attached in here
Comment #3
idebr commentedHi bertonha, thanks for reporting this issue!
After applying the patch there are still a few unused use statements in the Redirect repository. I suggest we clean these up as well:
$ phpcs . --sniffs=Drupal.Classes.UnusedUseStatement --standard=DrupalComment #4
mahipal46 commentedComment #5
mahipal46 commentedApplying Patch. Please Review.
Comment #6
mahipal46 commentedComment #7
idebr commentedThanks!
phpcs . --sniffs=Drupal.Classes.UnusedUseStatement --standard=Drupalno longer reports any unused statements.Comment #8
pifagorHello @berdir, any news here?
Comment #9
idebr commentedPatch no longer applies cleanly, and there are two more unused use statements:
Comment #10
Deeksha B commentedPlease review the patch.
Comment #11
lucienchalom commentedthe patch needed a reroll.
Comment #12
beatrizrodriguesI'll do the review.
Comment #13
beatrizrodriguesI will leave it in needs review because I found a unused use statement in
Drupal\Tests\redirect\Functional\GlobalRedirectTest. Sending new patch and a interdiff.Comment #14
anagomes commentedThe patch in #13 applies correctly and solves all warnings about unused use statements.
Comment #15
kristen polAssigning to myself as I'm triaging all RTBC issues.
Comment #16
kristen polI'm crediting everyone on this issue although the patch didn't fully apply. I manually fixed the missing item. Merge will happen shortly. See notes below.
@mahipal46 @Deeksha B In the future, please include an interdiff when updating unless it's a reroll. If it's a reroll, then explain that. Thanks.
@anagomes Thanks for the review. It would be good to know how you reviewed when marking something RTBC. In this case, I assume you ran
phpcs . --sniffs=Drupal.Classes.UnusedUseStatement --standard=Drupalafter applying the patch but it's important to be explicit in your comment so we know how something has been tested/reviewed. Thanks.patch worked for these:
manually fixed with
phpcbf . --sniffs=Drupal.Classes.UnusedUseStatement --standard=Drupal:rejected in patch:
Comment #18
kristen polMerged. This will be included in the next release.