-
-
Notifications
You must be signed in to change notification settings - Fork 27
/
composer.json
77 lines (77 loc) · 2.12 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
68
69
70
71
72
73
74
75
76
77
{
"name": "szepeviktor/phpstan-wordpress",
"description": "WordPress extensions for PHPStan",
"type": "phpstan-extension",
"keywords": [
"static analysis",
"code analysis",
"code analyse",
"wordpress",
"phpstan"
],
"license": "MIT",
"support": {
"issues": "https://github.com/szepeviktor/phpstan-wordpress/issues",
"source": "https://github.com/szepeviktor/phpstan-wordpress"
},
"require": {
"php": "^7.2 || ^8.0",
"php-stubs/wordpress-stubs": "^4.7 || ^5.0 || ^6.0",
"phpstan/phpstan": "^1.11.0",
"symfony/polyfill-php73": "^1.12.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": "^1.2",
"phpunit/phpunit": "^8.0 || ^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"
},
"autoload": {
"psr-4": {
"SzepeViktor\\PHPStan\\WordPress\\": "src/"
}
},
"autoload-dev": {
"classmap": [
"tests/"
]
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
},
"sort-packages": 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/"
},
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/szepeviktor"
}
]
}