mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-25 19:21:09 +00:00
Make build script exit with non-zero status when sniff fails.
This commit is contained in:
parent
a7c6de08a8
commit
81982ef86e
@ -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…
Reference in New Issue
Block a user