-
Notifications
You must be signed in to change notification settings - Fork 154
Expand file tree
/
Copy pathcomposer.json
More file actions
40 lines (40 loc) · 1.52 KB
/
composer.json
File metadata and controls
40 lines (40 loc) · 1.52 KB
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
35
36
37
38
39
40
{
"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",
"rector/rector": "^2.3"
},
"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",
"format": "@php ./vendor/bin/phpcbf --standard=phpcs.xml -n",
"format-file": "@php ./vendor/bin/phpcbf --standard=phpcs.xml -n --",
"test-integration": "./vendor/bin/phpunit --testsuite integration --colors=always --configuration phpunit-integration.xml --exclude-group AdminOnly,,",
"test-unit": "./vendor/bin/phpunit --colors=always --configuration phpunit-unit.xml"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpstan/extension-installer": true
},
"platform": {
"php": "7.4"
}
}
}