[wp-trac] [WordPress Trac] #53635: PHP 8.1: various compatibility fixes

WordPress Trac noreply at wordpress.org
Wed Aug 18 14:39:00 UTC 2021


#53635: PHP 8.1: various compatibility fixes
-------------------------------------------------+-------------------------
 Reporter:  SergeyBiryukov                       |       Owner:
                                                 |  hellofromTonya
     Type:  task (blessed)                       |      Status:  accepted
 Priority:  normal                               |   Milestone:  5.9
Component:  General                              |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  php81 has-patch has-unit-tests       |     Focuses:  coding-
  commit                                         |  standards
-------------------------------------------------+-------------------------

Comment (by SergeyBiryukov):

 Replying to [comment:58 jrf]:
 > The actual `auto_detect_line_endings` functionality has not been removed
 from PHP (yet) and will still work until PHP 9.0 and while the old MacOS
 line ending of `\r` on its own, is nowadays a rarity to encounter, it may
 still exist in translation files which haven't been updated for a long
 time.

 Thanks for these details! If the functionality still exists, I agree with
 silencing the notice for now :)

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/53635#comment:59>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list