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

WordPress Trac noreply at wordpress.org
Fri Nov 26 01:27:57 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-
                                            |  standards
--------------------------------------------+------------------------------

Comment (by SergeyBiryukov):

 In [changeset:"52253" 52253]:
 {{{
 #!CommitTicketReference repository="" revision="52253"
 Tests: Remove unexpected output in `wp_dashboard_recent_drafts()` tests on
 PHP 8.1.

 This follows the approach used in other tests to let PHPUnit manage the
 output catching and effectively ignore the output until retrieving it
 later via `getActualOutput()`.

 Follow-up to [45505], [51968], [52173].

 See #53635, #53363.
 }}}

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


More information about the wp-trac mailing list