fix composer phpunit to make it work with autoloader
All checks were successful
PHP Code Checker / PHP Code Checker (push) Successful in 47s
PHPUnit / PHPUnit – PHP 8.1 (push) Successful in 1m7s
PHPUnit / PHPUnit – PHP 8.2 (push) Successful in 1m8s
PHPUnit / PHPUnit – PHP 8.3 (push) Successful in 59s

This commit is contained in:
André Menrath 2024-09-23 16:21:12 +02:00
parent 2b22013e08
commit 68b7963fe6

View file

@ -7,12 +7,16 @@
"composer/installers": "^2.0" "composer/installers": "^2.0"
}, },
"require-dev": { "require-dev": {
"phpunit/phpunit": "^5.7.21 || ^6.5 || ^7.5 || ^8",
"phpcompatibility/php-compatibility": "*", "phpcompatibility/php-compatibility": "*",
"phpcompatibility/phpcompatibility-wp": "*", "phpcompatibility/phpcompatibility-wp": "*",
"squizlabs/php_codesniffer": "3.*", "squizlabs/php_codesniffer": "3.*",
"wp-coding-standards/wpcs": "^3.1.0", "wp-coding-standards/wpcs": "dev-develop",
"yoast/phpunit-polyfills": "^3.0",
"dealerdirect/phpcodesniffer-composer-installer": "^1.0.0", "dealerdirect/phpcodesniffer-composer-installer": "^1.0.0",
"sirbrillig/phpcs-variable-analysis": "^2.11" "sirbrillig/phpcs-variable-analysis": "^2.11",
"phpcsstandards/phpcsextra": "^1.1.0",
"dms/phpunit-arraysubset-asserts": "^0.5.0"
}, },
"config": { "config": {
"allow-plugins": true "allow-plugins": true