File tree 2 files changed +28
-1
lines changed
2 files changed +28
-1
lines changed Original file line number Diff line number Diff line change 6
6
composer-install,
7
7
lint,
8
8
cs,
9
+ composer-normalize-check,
9
10
tests,
10
11
phpstan
11
12
" />
32
33
</exec >
33
34
</target >
34
35
36
+ <target name =" composer-normalize-check" >
37
+ <exec
38
+ executable=" composer"
39
+ logoutput=" true"
40
+ passthru=" true"
41
+ checkreturn=" true"
42
+ >
43
+ <arg value =" normalize" />
44
+ <arg value =" --ansi" />
45
+ <arg value =" --dry-run" />
46
+ </exec >
47
+ </target >
48
+
49
+ <target name =" composer-normalize-fix" >
50
+ <exec
51
+ executable=" composer"
52
+ logoutput=" true"
53
+ passthru=" true"
54
+ checkreturn=" true"
55
+ >
56
+ <arg value =" normalize" />
57
+ <arg value =" --ansi" />
58
+ </exec >
59
+ </target >
60
+
35
61
<target name =" lint" >
36
62
<exec
37
63
executable=" vendor/bin/parallel-lint"
Original file line number Diff line number Diff line change 14
14
"slevomat/coding-standard" : " ^4.7.2" ,
15
15
"symfony/process" : " ^4.0" ,
16
16
"phpstan/extension-installer" : " ^1.0" ,
17
- "phpstan/phpstan-strict-rules" : " ^0.12"
17
+ "phpstan/phpstan-strict-rules" : " ^0.12" ,
18
+ "ergebnis/composer-normalize" : " ^2.0.2"
18
19
},
19
20
"autoload" : {
20
21
"psr-4" : {"PHPStan\\ PhpDocParser\\ " : [" src/" ]}
You can’t perform that action at this time.
0 commit comments