Update composer.json
This commit is contained in:
parent
afa8915faf
commit
56458da618
1 changed files with 4 additions and 8 deletions
|
@ -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"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue