[wp-trac] [WordPress Trac] #53491: update 'assertInternalType' is deprecate Method

WordPress Trac noreply at wordpress.org
Fri Jun 25 10:52:38 UTC 2021


#53491: update 'assertInternalType' is deprecate Method
--------------------------------------+-----------------------------
 Reporter:  pbearne                   |       Owner:  SergeyBiryukov
     Type:  defect (bug)              |      Status:  reviewing
 Priority:  normal                    |   Milestone:  5.9
Component:  Build/Test Tools          |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+-----------------------------

Comment (by SergeyBiryukov):

 Thanks for the PR!

 It looks like `assertIsArray()`, `assertIsString()`, `assertIsInt()`, etc.
 are only available in PHPUnit 7.5.x or later, so we'll need polyfills for
 older versions. WordPress currently supports PHPUnit 5.4.x as the minimum
 version.

 Related: #46149

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


More information about the wp-trac mailing list