File tree Expand file tree Collapse file tree 2 files changed +28
-1
lines changed Expand file tree Collapse file tree 2 files changed +28
-1
lines changed Original file line number Diff line number Diff line change 5
5
composer,
6
6
lint,
7
7
cs,
8
+ composer-normalize-check,
8
9
tests,
9
10
phpstan
10
11
" />
20
21
</exec >
21
22
</target >
22
23
24
+ <target name =" composer-normalize-check" >
25
+ <exec
26
+ executable=" composer"
27
+ logoutput=" true"
28
+ passthru=" true"
29
+ checkreturn=" true"
30
+ >
31
+ <arg value =" normalize" />
32
+ <arg value =" --ansi" />
33
+ <arg value =" --dry-run" />
34
+ </exec >
35
+ </target >
36
+
37
+ <target name =" composer-normalize-fix" >
38
+ <exec
39
+ executable=" composer"
40
+ logoutput=" true"
41
+ passthru=" true"
42
+ checkreturn=" true"
43
+ >
44
+ <arg value =" normalize" />
45
+ <arg value =" --ansi" />
46
+ </exec >
47
+ </target >
48
+
23
49
<target name =" lint" >
24
50
<exec
25
51
executable=" vendor/bin/parallel-lint"
Original file line number Diff line number Diff line change 37
37
"nette/di" : " ^2.3.0 || ^3.0.0" ,
38
38
"nette/forms" : " ^2.3.0 || ^3.0.0" ,
39
39
"nette/utils" : " ^2.3.0 || ^3.0.0" ,
40
- "nette/http" : " ^2.3.0 || ^3.0.0"
40
+ "nette/http" : " ^2.3.0 || ^3.0.0" ,
41
+ "ergebnis/composer-normalize" : " ^2.0.2"
41
42
},
42
43
"conflict" : {
43
44
"nette/application" : " <2.3.0" ,
You can’t perform that action at this time.
0 commit comments