File tree Expand file tree Collapse file tree 1 file changed +13
-8
lines changed Expand file tree Collapse file tree 1 file changed +13
-8
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " szepeviktor/phpstan-wordpress" ,
3
- "type" : " phpstan-extension" ,
4
3
"description" : " WordPress extensions for PHPStan" ,
4
+ "license" : " MIT" ,
5
+ "type" : " phpstan-extension" ,
5
6
"keywords" : [
6
7
" static analysis" ,
7
8
" code analysis" ,
8
9
" code analyse" ,
9
10
" wordpress" ,
10
11
" phpstan"
11
12
],
12
- "license" : " MIT" ,
13
13
"require" : {
14
14
"php" : " ^7.1 || ^8.0" ,
15
15
"php-stubs/wordpress-stubs" : " ^4.7 || ^5.0" ,
24
24
"phpunit/phpunit" : " ^7 || ^9" ,
25
25
"szepeviktor/phpcs-psr-12-neutron-hybrid-ruleset" : " ^0.6"
26
26
},
27
+ "autoload" : {
28
+ "psr-4" : {
29
+ "SzepeViktor\\ PHPStan\\ WordPress\\ " : " src/"
30
+ }
31
+ },
32
+ "config" : {
33
+ "allow-plugins" : {
34
+ "dealerdirect/phpcodesniffer-composer-installer" : true
35
+ }
36
+ },
27
37
"extra" : {
28
38
"phpstan" : {
29
39
"includes" : [
30
40
" extension.neon"
31
41
]
32
42
}
33
43
},
34
- "autoload" : {
35
- "psr-4" : {
36
- "SzepeViktor\\ PHPStan\\ WordPress\\ " : " src/"
37
- }
38
- },
39
44
"scripts" : {
40
45
"test" : [
41
46
" @test:syntax" ,
42
47
" @test:phpunit" ,
43
48
" @test:cs" ,
44
49
" @test:phpstan"
45
50
],
46
- "test:phpunit" : " phpunit" ,
47
51
"test:cs" : " phpcs" ,
48
52
"test:cs:fix" : " phpcbf" ,
49
53
"test:phpstan" : " phpstan analyze" ,
54
+ "test:phpunit" : " phpunit" ,
50
55
"test:syntax" : " parallel-lint bootstrap.php src/ tests/"
51
56
}
52
57
}
You can’t perform that action at this time.
0 commit comments