Changeset 50982
- Timestamp:
- 05/24/2021 09:03:15 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/includes/functions.php
r50929 r50982 8 8 */ 9 9 function tests_get_phpunit_version() { 10 if ( class_exists( 'PHPUnit_Runner_Version' ) ) { 10 if ( class_exists( 'PHPUnit\Runner\Version' ) ) { 11 $version = PHPUnit\Runner\Version::id(); 12 } elseif ( class_exists( 'PHPUnit_Runner_Version' ) ) { 11 13 $version = PHPUnit_Runner_Version::id(); 12 } elseif ( class_exists( 'PHPUnit\Runner\Version' ) ) {13 $version = PHPUnit\Runner\Version::id();14 14 } else { 15 15 $version = 0;
Note: See TracChangeset
for help on using the changeset viewer.