Skip to content

Commit 54fbb0f

Browse files
localheinzondrejmirtes
authored andcommitted
Enhancement: Run 'composer validate' as part of the build
1 parent 209b7db commit 54fbb0f

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

build.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<project name="Extra strict and opinionated rules for PHPStan" default="check">
33

44
<target name="check" depends="
5+
composer-validate,
56
composer,
67
lint,
78
cs,
@@ -10,6 +11,18 @@
1011
phpstan
1112
"/>
1213

14+
<target name="composer-validate">
15+
<exec
16+
executable="composer"
17+
logoutput="true"
18+
passthru="true"
19+
checkreturn="true"
20+
>
21+
<arg value="validate"/>
22+
<arg value="--ansi"/>
23+
</exec>
24+
</target>
25+
1326
<target name="composer">
1427
<exec
1528
executable="composer"

0 commit comments

Comments
 (0)