Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
base system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
24 Mar 2015 at 13:36 UTC
Updated:
14 May 2015 at 03:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
alexpottLet's remove the class in one go.
Comment #2
alexpottRemoving the class in one go means that the bc layer hangs around for longer which is good for contrib.
Comment #3
andypostComment #4
stefan.r commentedComment #6
anksy commentedComment #8
stefan.r commentedDisregard #4, seems I may have run a faulty sed regex there!
Comment #10
stefan.r commentedComment #12
stefan.r commentedComment #14
stefan.r commentedComment #15
tim.plunkettI think this was intended to be postponed on #2457887: Use Utility\SafeMarkup class instead of Utility\String for placeholder(), checkPlain(),format() functions. This is *only* supposed to remove the class itself.
Comment #17
andypostComment #18
stefan.r commentedOn both #2457781: Use Utility\Html class instead of Utility\String for decodeEntities() function and #2457887: Use Utility\SafeMarkup class instead of Utility\String for placeholder(), checkPlain(),format() functions then I guess. Even after resolving conflicts between these and applying them there are still going to be some stray unused "use Utility/String" statements as well.
Seems like this patch accidently rolled all of these 3 issues into 1 big patch :)
Comment #19
berdirChanging parent, so all these issues are visible in the php7 meta issue.
Comment #20
andypostComment #21
stefan.r commentedThis will require a reroll after #2457781: Use Utility\Html class instead of Utility\String for decodeEntities() function still so we can get rid of any stray unused "use Utility/String" statements...
Comment #22
alexpottThis should only be done after the next beta to give contrib and custom time to update their code.
Comment #23
stefan.r commentedComment #24
stefan.r commentedChange record is here: https://www.drupal.org/node/2457593
Comment #25
stefan.r commentedLooks like unused "use Utility/String" statements are being removed here: #2462151: Remove unused Utility\String use statements
Comment #26
stefan.r commentedJust so PHP7 doesn't choke on the next Drupal 8 beta, what about this as a stop-gap solution before we remove the class entirely?
Comment #27
stefan.r commentedwhitespace fix
Comment #28
andypostPHP 7-dev does not have this methods, so just remove the file and postpone the issue
Comment #29
alexpottAnd as long as we don't use the class - which we're not then PHP7 will run D8 just fine.
Comment #30
stefan.r commentedAh never mind then, I thought the mere class definition would be problematic!
Comment #31
stefan.r commentedComment #32
andypostprobably it's time
Comment #34
rpayanmComment #35
alexpottNope - not until after the next beta please - which is 29th April... https://groups.drupal.org/node/466823
Comment #36
hussainwebThe patch still applies, and the beta10 is out. I am setting it to back to RTBC as per #34.
Comment #37
webchickYep, sounds good.
Committed and pushed to 8.0.x. Thanks!