[wp-trac] [WordPress Trac] #63833: PHPUnit classes don't exist in later versions of PHPUnit

WordPress Trac noreply at wordpress.org
Sat Aug 30 13:59:18 UTC 2025


#63833: PHPUnit classes don't exist in later versions of PHPUnit
--------------------------------------+-----------------------------
 Reporter:  danielmorell              |       Owner:  SergeyBiryukov
     Type:  feature request           |      Status:  closed
 Priority:  normal                    |   Milestone:  6.9
Component:  Build/Test Tools          |     Version:  trunk
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:  tests
--------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"60693" 60693]:
 {{{
 #!CommitTicketReference repository="" revision="60693"
 Build/Test Tools: Check if PHPUnit classes exist before calling
 `class_alias()`.

 This resolves `Class not found` warnings when running the tests in PHPUnit
 10 or later.

 Follow-up to [40536], [51570].

 Props danielmorell, devasheeshkaul, SergeyBiryukov.
 Fixes #63833.
 }}}

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


More information about the wp-trac mailing list