1
0
mirror of https://github.com/danog/tgseclib.git synced 2024-11-26 20:24:39 +01:00

Merge pull request #330 from bantu/phing-sniff-fail

Make build script exit with non-zero status when sniff fails.

* bantu/phing-sniff-fail:
  Make build script exit with non-zero status when sniff fails.
This commit is contained in:
Andreas Fischer 2014-04-19 15:37:01 +02:00
commit 0886808b2e

View File

@ -13,14 +13,14 @@
--extensions=php
--standard=build/code-sniffer-ruleset.xml
phpseclib/"
dir=".." passthru="true" />
dir=".." checkreturn="true" passthru="true" />
</target>
<target name="sniff-php-tests">
<exec command="vendor/bin/phpcs -s
--extensions=php
--standard=build/code-sniffer-ruleset-tests.xml
tests/"
dir=".." passthru="true" />
dir=".." checkreturn="true" passthru="true" />
</target>
</project>