-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathcomposer.json
More file actions
35 lines (35 loc) · 1.19 KB
/
composer.json
File metadata and controls
35 lines (35 loc) · 1.19 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
{
"name": "local/wp-content",
"description": "WordPress Content Directory",
"type": "project",
"license": "MIT",
"require": {
"php": ">=7.4"
},
"require-dev": {
"phpcsstandards/phpcsutils": "^1.0",
"phpdocumentor/phpdocumentor": "^3.8",
"phpstan/extension-installer": "^1.4",
"phpstan/phpstan": "^1.12",
"squizlabs/php_codesniffer": "^3.7",
"szepeviktor/phpstan-wordpress": "^1.3",
"wp-coding-standards/wpcs": "^3.0"
},
"scripts": {
"phpstan": "phpstan analyse --memory-limit=2048M",
"phpstan:baseline": "phpstan analyse --generate-baseline --allow-empty-baseline",
"phpstan:ci": "phpstan analyse --error-format=github --no-progress",
"phpcs": "phpcs",
"phpcbf": "phpcbf",
"phpcs:check": "phpcs --standard=WordPress plugins/ themes/ --report=full",
"phpcs:fix": "phpcbf --standard=WordPress plugins/ themes/"
},
"config": {
"allow-plugins": {
"phpstan/extension-installer": true,
"dealerdirect/phpcodesniffer-composer-installer": true
},
"sort-packages": true,
"optimize-autoloader": true
}
}