-
-
Notifications
You must be signed in to change notification settings - Fork 19
/
composer.json
62 lines (62 loc) · 2.05 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{
"name": "php-stubs/wordpress-stubs",
"description": "WordPress function and class declaration stubs for static analysis.",
"license": "MIT",
"keywords": [
"wordpress",
"static analysis",
"phpstan"
],
"homepage": "https://github.com/php-stubs/wordpress-stubs",
"require-dev": {
"php": "^7.4 || ^8.0",
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
"nikic/php-parser": "^4.13",
"php-stubs/generator": "^0.8.3",
"phpdocumentor/reflection-docblock": "^5.4.1",
"phpstan/phpstan": "^1.11",
"phpunit/phpunit": "^9.5",
"szepeviktor/phpcs-psr-12-neutron-hybrid-ruleset": "^1.1.1",
"wp-coding-standards/wpcs": "3.1.0 as 2.3.0"
},
"suggest": {
"paragonie/sodium_compat": "Pure PHP implementation of libsodium",
"symfony/polyfill-php80": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions",
"szepeviktor/phpstan-wordpress": "WordPress extensions for PHPStan"
},
"minimum-stability": "stable",
"autoload-dev": {
"psr-4": {
"PhpStubs\\WordPress\\Core\\": "src/"
},
"classmap": [
"tests/"
]
},
"config": {
"allow-plugins": {
"php-stubs/generator": true,
"dealerdirect/phpcodesniffer-composer-installer": true
},
"platform": {
"php": "7.4.30"
}
},
"scripts": {
"post-install-cmd": "@composer --working-dir=source/ update --no-interaction",
"post-update-cmd": "@composer --working-dir=source/ update --no-interaction",
"cleanup": "git status --short --ignored | sed -n -e 's#^!! ##p' | xargs -r rm -vrf",
"test": [
"@test:phpunit",
"@test:phpstan",
"@test:cs"
],
"test:cs": "phpcs",
"test:cs:fix": "phpcbf",
"test:phpstan": "phpstan analyze",
"test:phpunit": "phpunit"
},
"scripts-descriptions": {
"cleanup": "Remove all ignored files."
}
}