[wp-trac] [WordPress Trac] #59486: Make test suite compatible with PHPUnit 10

WordPress Trac noreply at wordpress.org
Fri Jan 19 00:19:59 UTC 2024


#59486: Make test suite compatible with PHPUnit 10
------------------------------+-----------------------------
 Reporter:  dingo_d           |       Owner:  (none)
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  Future Release
Component:  Build/Test Tools  |     Version:  6.4
 Severity:  normal            |  Resolution:
 Keywords:  needs-patch       |     Focuses:
------------------------------+-----------------------------

Comment (by ironprogrammer):

 To provide more detail to the list from comment:1, here are the deprecated
 `expect*()` warnings to increase discoverability of this ticket
 ([https://github.com/sebastianbergmann/phpunit/issues/5062 details]):

 {{{
 Expecting E_DEPRECATED and E_USER_DEPRECATED is deprecated and will no
 longer be possible in PHPUnit 10.
 Expecting E_ERROR and E_USER_ERROR is deprecated and will no longer be
 possible in PHPUnit 10.
 Expecting E_STRICT, E_NOTICE, and E_USER_NOTICE is deprecated and will no
 longer be possible in PHPUnit 10.
 Expecting E_WARNING and E_USER_WARNING is deprecated and will no longer be
 possible in PHPUnit 10.
 }}}

 Props @azaozz for pointing this out.

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


More information about the wp-trac mailing list