Changeset 51574
- Timestamp:
- 08/07/2021 11:41:53 AM (3 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
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/.gitignore
r51543 r51574 7 7 8 8 # Files and folders related to build/test tools 9 .phpunit.result.cache 9 10 /phpunit.xml 10 11 /.phpcs.xml -
trunk/composer.json
r51559 r51574 18 18 "wp-coding-standards/wpcs": "~2.3.0", 19 19 "phpcompatibility/phpcompatibility-wp": "~2.1.2", 20 "phpunit/phpunit": "^5.7 || ^6.5 || ^7.5",21 20 "yoast/phpunit-polyfills": "^1.0" 22 21 }, -
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.