Update composer.json

This commit is contained in:
Matthias Pfefferle 2022-01-27 12:22:14 +01:00
parent afa8915faf
commit 56458da618

View file

@ -9,9 +9,11 @@
"require-dev": { "require-dev": {
"phpunit/phpunit": "^5.7.21 || ^6.5 || ^7.5 || ^8", "phpunit/phpunit": "^5.7.21 || ^6.5 || ^7.5 || ^8",
"phpcompatibility/php-compatibility": "*", "phpcompatibility/php-compatibility": "*",
"phpcompatibility/phpcompatibility-wp": "*",
"squizlabs/php_codesniffer": "3.*", "squizlabs/php_codesniffer": "3.*",
"wp-coding-standards/wpcs": "^2.3.0", "wp-coding-standards/wpcs": "*",
"yoast/phpunit-polyfills": "^1.0" "yoast/phpunit-polyfills": "^1.0",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.1"
}, },
"license": "MIT", "license": "MIT",
"authors": [ "authors": [
@ -28,12 +30,6 @@
"composer install", "composer install",
"bin/install-wp-tests.sh wordpress wordpress wordpress", "bin/install-wp-tests.sh wordpress wordpress wordpress",
"vendor/bin/phpunit" "vendor/bin/phpunit"
],
"post-install-cmd": [
"\"vendor/bin/phpcs\" --config-set installed_paths vendor/phpcompatibility/php-compatibility,vendor/wp-coding-standards/wpcs"
],
"post-update-cmd": [
"\"vendor/bin/phpcs\" --config-set installed_paths vendor/phpcompatibility/php-compatibility,vendor/wp-coding-standards/wpcs"
] ]
} }
} }