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

WordPress Trac noreply at wordpress.org
Tue Aug 10 12:53:52 UTC 2021


#53635: PHP 8.1: various compatibility fixes
----------------------------+-------------------------------
 Reporter:  SergeyBiryukov  |       Owner:  (none)
     Type:  task (blessed)  |      Status:  new
 Priority:  normal          |   Milestone:  5.9
Component:  General         |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  php81           |     Focuses:  coding-standards
----------------------------+-------------------------------

Comment (by jrf):

 FYI: I've been preparing various patches for known PHP 8.1 test failures -
 mostly "passing null to non-nullable" errors - and adding dedicated,
 targeted tests for these.
 Unfortunately, though not unexpected, the functions affected often don't
 have any tests yet or the tests which are available, need a lot of work.

 So slow going, but we've still got a few months time and it would be good
 to significantly improve the tests along with making these fixes.

 Some WIP PRs are already open on GH (not yet linked to this ticket) and
 more are forthcoming.

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


More information about the wp-trac mailing list