-
Notifications
You must be signed in to change notification settings - Fork 8
/
composer.json
30 lines (30 loc) · 1.15 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
{
"require-dev": {
"yoast/phpunit-polyfills": "^1.1.1",
"wp-cli/wp-cli-bundle": ">=2.10",
"phpcsstandards/phpcsextra": "^1.2.1",
"phpstan/extension-installer": "^1.4.1",
"phpstan/phpstan": "^1.11.9",
"phpstan/phpstan-mockery": "^1.1.2",
"phpstan/phpstan-phpunit": "^1.4",
"phpunit/phpunit": "^9.6.20",
"sirbrillig/phpcs-variable-analysis": "^2.11.19",
"wp-coding-standards/wpcs": "^3.1",
"phpstan/phpstan-strict-rules": "^1.6",
"szepeviktor/phpstan-wordpress": "^1.3",
"spaze/phpstan-disallowed-calls": "^3.4"
},
"scripts": {
"pot": "wp i18n make-pot . languages/search-regex.pot --ignore-domain --exclude=build/search-regex-strings.php --exclude=build/search-regex.js",
"json": "wp i18n make-json languages --purge",
"analyse": "@php ./vendor/bin/phpstan analyse --no-interaction --configuration=phpstan.neon $*",
"checks": "composer lint; composer analyse",
"lint": "@php ./vendor/bin/phpcs --standard=phpcs.xml -s -n ./"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpstan/extension-installer": true
}
}
}