mirror of
https://github.com/danog/tgseclib.git
synced 2024-11-30 04:39:02 +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:
commit
0886808b2e
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user