Changeset 51544
- Timestamp:
- 08/04/2021 07:24:14 PM (3 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/composer.json
r51543 r51544 20 20 "phpunit/phpunit": "^5.7 || ^6.5 || ^7.5" 21 21 }, 22 "autoload-dev": {23 "files": [24 "tests/phpunit/includes/phpunit7/MockObject/Builder/NamespaceMatch.php",25 "tests/phpunit/includes/phpunit7/MockObject/Builder/ParametersMatch.php",26 "tests/phpunit/includes/phpunit7/MockObject/InvocationMocker.php",27 "tests/phpunit/includes/phpunit7/MockObject/MockMethod.php"28 ],29 "exclude-from-classmap": [30 "vendor/phpunit/phpunit/src/Framework/MockObject/Builder/NamespaceMatch.php",31 "vendor/phpunit/phpunit/src/Framework/MockObject/Builder/ParametersMatch.php",32 "vendor/phpunit/phpunit/src/Framework/MockObject/InvocationMocker.php",33 "vendor/phpunit/phpunit/src/Framework/MockObject/MockMethod.php"34 ]35 },36 22 "scripts": { 37 23 "compat": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs --standard=phpcompat.xml.dist --report=summary,source", -
trunk/tests/phpunit/includes/bootstrap.php
r51543 r51544 46 46 exit( 1 ); 47 47 } 48 49 // Register a custom autoloader for the PHPUnit 9.x Mockobject classes for compatibility with PHP 8.0. 50 require_once __DIR__ . '/class-mockobject-autoload.php'; 51 spl_autoload_register( 'MockObject_Autoload::load', true, true ); 48 52 49 53 // If running core tests, check if all the required PHP extensions are loaded before running the test suite.
Note: See TracChangeset
for help on using the changeset viewer.