mirror of
https://github.com/phpseclib/phpseclib.git
synced 2025-01-28 01:28:27 +00: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
|
--extensions=php
|
||||||
--standard=build/code-sniffer-ruleset.xml
|
--standard=build/code-sniffer-ruleset.xml
|
||||||
phpseclib/"
|
phpseclib/"
|
||||||
dir=".." passthru="true" />
|
dir=".." checkreturn="true" passthru="true" />
|
||||||
</target>
|
</target>
|
||||||
<target name="sniff-php-tests">
|
<target name="sniff-php-tests">
|
||||||
<exec command="vendor/bin/phpcs -s
|
<exec command="vendor/bin/phpcs -s
|
||||||
--extensions=php
|
--extensions=php
|
||||||
--standard=build/code-sniffer-ruleset-tests.xml
|
--standard=build/code-sniffer-ruleset-tests.xml
|
||||||
tests/"
|
tests/"
|
||||||
dir=".." passthru="true" />
|
dir=".." checkreturn="true" passthru="true" />
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user