Changeset 65276 for trunk/tests/phpunit/includes/bootstrap.php
- Timestamp:
- 11/05/2026 03:36:34 PM (7 days ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/includes/bootstrap.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/includes/bootstrap.php
r65251 r65276 581 581 } 582 582 583 // PHPUnit 10 and later have no TestListener interface, so the filter is not declared there. 583 584 if ( version_compare( tests_get_phpunit_version(), '6.0', '<' ) ) { 584 585 class WP_PHPUnit_Default_Group_Filter implements PHPUnit_Framework_TestListener { … … 587 588 } 588 589 } 589 } else {590 } elseif ( interface_exists( 'PHPUnit\Framework\TestListener' ) ) { 590 591 class WP_PHPUnit_Default_Group_Filter implements PHPUnit\Framework\TestListener { 591 592 use Yoast\PHPUnitPolyfills\TestListeners\TestListenerDefaultImplementation, WP_PHPUnit_Default_Group_Filter_Methods {
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)