-
-
Notifications
You must be signed in to change notification settings - Fork 27
/
composer.json
67 lines (67 loc) · 1.78 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
63
64
65
66
67
{
"name": "szepeviktor/phpstan-wordpress",
"description": "WordPress extensions for PHPStan",
"license": "MIT",
"type": "phpstan-extension",
"keywords": [
"static analysis",
"code analysis",
"code analyse",
"wordpress",
"phpstan"
],
"require": {
"php": "^7.4 || ^8.0",
"php-stubs/wordpress-stubs": "^6.6.2",
"phpstan/phpstan": "^2.0"
},
"require-dev": {
"composer/composer": "^2.1.14",
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
"php-parallel-lint/php-parallel-lint": "^1.1",
"phpstan/phpstan-strict-rules": "^2.0",
"phpunit/phpunit": "^9.0",
"szepeviktor/phpcs-psr-12-neutron-hybrid-ruleset": "^1.0",
"wp-coding-standards/wpcs": "3.1.0 as 2.3.0"
},
"suggest": {
"swissspidy/phpstan-no-private": "Detect usage of internal core functions, classes and methods"
},
"minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
"psr-4": {
"SzepeViktor\\PHPStan\\WordPress\\": "src/"
}
},
"autoload-dev": {
"classmap": [
"tests/"
]
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"extra": {
"phpstan": {
"includes": [
"extension.neon"
]
}
},
"scripts": {
"test": [
"@test:syntax",
"@test:phpunit",
"@test:cs",
"@test:phpstan"
],
"test:cs": "phpcs",
"test:cs:fix": "phpcbf",
"test:phpstan": "phpstan analyze",
"test:phpunit": "phpunit",
"test:syntax": "parallel-lint bootstrap.php src/ tests/"
}
}