Update composer.json

This commit is contained in:
Matthias Pfefferle 2022-01-27 12:22:14 +01:00 committed by Django Doucet
parent 395187a717
commit a88eea6c1c

View file

@ -9,9 +9,11 @@
"require-dev": {
"phpunit/phpunit": "^5.7.21 || ^6.5 || ^7.5 || ^8",
"phpcompatibility/php-compatibility": "*",
"phpcompatibility/phpcompatibility-wp": "*",
"squizlabs/php_codesniffer": "3.*",
"wp-coding-standards/wpcs": "^2.3.0",
"yoast/phpunit-polyfills": "^1.0"
"wp-coding-standards/wpcs": "*",
"yoast/phpunit-polyfills": "^1.0",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.1"
},
"license": "MIT",
"authors": [
@ -28,12 +30,6 @@
"composer install",
"bin/install-wp-tests.sh wordpress wordpress wordpress",
"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"
]
}
}