PHPUnit 10 fails with old configuration schema while older releases only print a warning. Stick with at most v9 for now, as we are testing against older PHP versions that to not support the new scheme.
55 lines
1.2 KiB
JSON
55 lines
1.2 KiB
JSON
{
|
|
"name": "stklcode/statify-blacklist",
|
|
"version": "1.6.2",
|
|
"description": "A filter extension for the famous Statify WordPress plugin",
|
|
"keywords": [
|
|
"wordpress",
|
|
"plugin",
|
|
"statistics",
|
|
"filter"
|
|
],
|
|
"license": "GPL-2.0-or-later",
|
|
"authors": [
|
|
{
|
|
"name": "Stefan Kalscheuer",
|
|
"email": "stefan@stklcode.de",
|
|
"homepage": "https://www.stklcode.de"
|
|
}
|
|
],
|
|
"type": "wordpress-plugin",
|
|
"require": {
|
|
"php": ">=5.5",
|
|
"composer/installers": "~1.12"
|
|
},
|
|
"require-dev": {
|
|
"dealerdirect/phpcodesniffer-composer-installer": "^0.7",
|
|
"phpunit/phpunit": "^5|^6|^7|^8|^9",
|
|
"phpunit/php-code-coverage": "*",
|
|
"slowprog/composer-copy-file": "~0.3",
|
|
"squizlabs/php_codesniffer": "^3.7",
|
|
"phpcompatibility/phpcompatibility-wp": "^2.1",
|
|
"wp-coding-standards/wpcs": "^2.3"
|
|
},
|
|
"scripts": {
|
|
"test-all": [
|
|
"@test",
|
|
"@test-cs"
|
|
],
|
|
"test": [
|
|
"phpunit"
|
|
],
|
|
"test-cs": [
|
|
"phpcs --standard=phpcs.xml -s"
|
|
],
|
|
"fix-cs": [
|
|
"phpcbf --standard=phpcs.xml"
|
|
]
|
|
},
|
|
"config": {
|
|
"allow-plugins": {
|
|
"composer/installers": true,
|
|
"dealerdirect/phpcodesniffer-composer-installer": true
|
|
}
|
|
}
|
|
}
|