summaryrefslogtreecommitdiffstatshomepage
path: root/composer.json
diff options
context:
space:
mode:
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json16
1 files changed, 15 insertions, 1 deletions
diff --git a/composer.json b/composer.json
index 58e456582c..41368ef25e 100644
--- a/composer.json
+++ b/composer.json
@@ -16,7 +16,21 @@
"dealerdirect/phpcodesniffer-composer-installer": "~0.6.0",
"wp-coding-standards/wpcs": "~2.3.0",
"phpcompatibility/phpcompatibility-wp": "^2.1.0",
- "phpunit/phpunit": "^5.7 || ^6.5 || ^7.5"
+ "phpunit/phpunit": "^7.5"
+ },
+ "autoload-dev": {
+ "files": [
+ "tests/phpunit/includes/phpunit7/MockObject/Builder/NamespaceMatch.php",
+ "tests/phpunit/includes/phpunit7/MockObject/Builder/ParametersMatch.php",
+ "tests/phpunit/includes/phpunit7/MockObject/InvocationMocker.php",
+ "tests/phpunit/includes/phpunit7/MockObject/MockMethod.php"
+ ],
+ "exclude-from-classmap": [
+ "vendor/phpunit/phpunit/src/Framework/MockObject/Builder/NamespaceMatch.php",
+ "vendor/phpunit/phpunit/src/Framework/MockObject/Builder/ParametersMatch.php",
+ "vendor/phpunit/phpunit/src/Framework/MockObject/InvocationMocker.php",
+ "vendor/phpunit/phpunit/src/Framework/MockObject/MockMethod.php"
+ ]
},
"scripts": {
"compat": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs --standard=phpcompat.xml.dist --report=summary,source",