This commit is contained in:
Meritoo
2019-04-03 12:45:26 +02:00
parent 1db4a55e31
commit 87422af5c7
5 changed files with 23 additions and 1 deletions

View File

@@ -43,7 +43,8 @@
<!-- Check target -->
<target name="build:check"
depends="check:cs,
check:cpd"
check:cpd,
check:phpstan"
/>
<!-- Test target -->
@@ -69,6 +70,11 @@
</phpcpd>
</target>
<!-- Run static analysis -->
<target name="check:phpstan" depends="build:prepare">
<exec command="${check.phpstan.command}" passthru="true"/>
</target>
<!-- PHPUnit tests -->
<target name="test:phpunit" depends="build:prepare">
<exec command="${tests.phpunit.command}" passthru="true"/>