Changeset 51574 for trunk/tests/phpunit/includes/bootstrap.php
- Timestamp:
- 08/07/2021 11:41:53 AM (5 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
tests/phpunit/includes/bootstrap.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:ignore
-
old new 2 2 .htaccess 3 3 # Files and folders related to build/test tools 4 .phpunit.result.cache 4 5 phpunit.xml 5 6 phpcs.xml
-
- Property svn:ignore
-
trunk/tests/phpunit/includes/bootstrap.php
r51561 r51574 38 38 $phpunit_version = tests_get_phpunit_version(); 39 39 40 if ( version_compare( $phpunit_version, '5.7 ', '<' ) || version_compare( $phpunit_version, '8.0', '>=' ) ) {40 if ( version_compare( $phpunit_version, '5.7.21', '<' ) ) { 41 41 printf( 42 "Error: Looks like you're using PHPUnit %s. WordPress requires at least PHPUnit 5.7 and is currently only compatible with PHPUnit up to 7.x.\n",42 "Error: Looks like you're using PHPUnit %s. WordPress requires at least PHPUnit 5.7.21.\n", 43 43 $phpunit_version 44 44 ); 45 echo "Please use the latest PHPUnit version from the 7.x branch.\n";45 echo "Please use the latest PHPUnit version supported for the PHP version you are running the tests on.\n"; 46 46 exit( 1 ); 47 47 }
Note: See TracChangeset
for help on using the changeset viewer.