[wp-trac] [WordPress Trac] #56514: PHP 8.2: fix magic method use within the test suite

WordPress Trac noreply at wordpress.org
Wed Sep 7 16:55:42 UTC 2022


#56514: PHP 8.2: fix magic method use within the test suite
-------------------------------------------------+-------------------------
 Reporter:  jrf                                  |       Owner:
                                                 |  SergeyBiryukov
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:
Component:  General                              |     Version:  trunk
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch php82 has-unit-tests       |     Focuses:
  needs-dev-note                                 |
-------------------------------------------------+-------------------------
Changes (by SergeyBiryukov):

 * keywords:  has-patch php82 has-unit-tests => has-patch php82 has-unit-
     tests needs-dev-note


Comment:

 Replying to [comment:12 jrf]:
 > Should this be mentioned in a WP 6.1 dev-note ? I.e. reminder for
 integrators to use `self::factory()->...` in their tests instead of using
 `$this->factory->...` ?

 Good point, adding the keyword for that.

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


More information about the wp-trac mailing list