[wp-trac] [WordPress Trac] #60115: PHPUnit tests for _deprecated_constructor()

WordPress Trac noreply at wordpress.org
Tue Dec 19 20:44:49 UTC 2023


#60115: PHPUnit tests for _deprecated_constructor()
--------------------------------------+------------------------------
 Reporter:  pbearne                   |       Owner:  (none)
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  Build/Test Tools          |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+------------------------------

Comment (by pbearne):

 The \WP_UnitTestCase_Base::expectDeprecated function didn't have the
 fileter/acction to shortcut the _deprecated_constructor function so add to
 match the other _deprecated_* functions

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


More information about the wp-trac mailing list