Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
other
Priority:
Minor
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
3 Feb 2014 at 04:28 UTC
Updated:
29 Jul 2014 at 23:20 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
lokapujyaRemove unused use statements and extra semi colons from system module.
Comment #2
lokapujyaComment #3
lokapujyaComment #5
lokapujyaComment #6
lokapujyaComment #7
lokapujyaComment #8
vaibhavjainComment #9
lokapujyaThanks for the reroll. Please add a comment to describe what changed or specify that it was a straight reroll. Also, The previous patch had fixed some double semi-colons; I think we should keep those changes.
Comment #10
vaibhavjainlokapujya, this was a straight reroll, some lines were added above it and some were removed already which were removed in this patch.
For the double semicolon; I thought it was a bug, and I removed those.
I will add those and attach the patch again.
Just for my information, why do we need these double semicolons ?
Comment #11
vaibhavjainHey Lokapujya,
Just checked on the double semicolon thing in files - "core/modules/system/lib/Drupal/system/Tests/Entity/EntityLanguageTestBase.php" and "core/modules/system/lib/Drupal/system/Form/RegionalForm.php".
For both the cases the double colon has already been removed, so no need to include that in the patch, and I believe the same patch as mentioned in #8 can work.
Comment #12
lokapujyaIt looks good to me. I think a 3rd person should review the change. I pulled the changes over from https://drupal.org/node/2080343#comment-8386367 in order to separate the changes from that issue. Even though the change passes Simpletest, I'd like someone experienced with PHP OOP to say that it's ok to remove the use statements.
Comment #13
LinL commentedPatch no longer applies, tagging for reroll.
Comment #14
visabhishek commentedsimply reroll
Comment #15
martin107 commentedpatch applies cleanly, without error
does what is asked, and nothing more
+1
Comment #17
vaibhavjainAdding rerolled patch.
Comment #18
vastav commented14: 2187477-14.patch queued for re-testing.
Comment #19
martin107 commentedclean reroll, back to rtbc
Comment #20
webchickCommitted and pushed to 8.x. Thanks!