-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
44 lines (44 loc) · 1.13 KB
/
Copy pathcomposer.json
File metadata and controls
44 lines (44 loc) · 1.13 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
41
42
43
44
{
"name": "wordpress/secrets-api",
"description": "Feature plugin for the WordPress Secrets API proposed for 7.2.",
"type": "wordpress-plugin",
"license": "GPL-2.0-or-later",
"require": {
"php": ">=7.4"
},
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
"php-stubs/wp-cli-stubs": "^2.9",
"phpcompatibility/phpcompatibility-wp": "^2.1",
"phpstan/phpstan": "^2.1",
"phpunit/phpunit": "^9.6",
"squizlabs/php_codesniffer": "^3.9",
"szepeviktor/phpstan-wordpress": "^2.0",
"wp-coding-standards/wpcs": "^3.1",
"yoast/phpunit-polyfills": "^2.0"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
},
"platform": {
"php": "7.4.33"
},
"sort-packages": true
},
"scripts": {
"lint": "phpcs",
"lint-fix": "phpcbf",
"compat": "phpcs --standard=PHPCompatibilityWP --runtime-set testVersion 7.4- --extensions=php src plugin cli secrets-api.php",
"analyse": "phpstan analyse --memory-limit=1G",
"test": "phpunit",
"test-ms": "phpunit -c phpunit-multisite.xml.dist",
"ci": [
"@lint",
"@compat",
"@analyse",
"@test",
"@test-ms"
]
}
}