forked from johngodley/redirection
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
34 lines (34 loc) · 1.3 KB
/
composer.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
"require-dev": {
"yoast/phpunit-polyfills": "^3.0",
"wp-cli/wp-cli-bundle": ">=2.10",
"phpcsstandards/phpcsextra": "^1.2.1",
"phpstan/extension-installer": "^1.4.3",
"phpstan/phpstan": "^2.0",
"phpstan/phpstan-mockery": "^2.0",
"phpstan/phpstan-phpunit": "^2.0",
"phpstan/phpstan-strict-rules": "^2.0",
"phpunit/phpunit": "^9.6.20",
"sirbrillig/phpcs-variable-analysis": "^2.11.19",
"wp-coding-standards/wpcs": "^3.1",
"szepeviktor/phpstan-wordpress": "^2.0",
"spaze/phpstan-disallowed-calls": "^4.0",
"php-stubs/wordpress-tests-stubs": "^6.7",
"phpcompatibility/php-compatibility": "^9.3",
"brain/monkey": "^2.6"
},
"scripts": {
"analyse": "@php ./vendor/bin/phpstan analyse --no-interaction --configuration=phpstan.neon $*",
"checks": "composer lint; composer analyse",
"baseline": "vendor/bin/phpstan analyse --configuration phpstan.neon --generate-baseline",
"lint": "@php ./vendor/bin/phpcs --standard=phpcs.xml -s -n",
"test": "./vendor/bin/phpunit --configuration=phpunit-unit.xml",
"test-integration": "./vendor/bin/phpunit --testsuite integration --colors=always --configuration phpunit-integration.xml --exclude-group AdminOnly,,"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpstan/extension-installer": true
}
}
}