Skip to content
This repository has been archived by the owner on Sep 8, 2023. It is now read-only.

Commit

Permalink
Phing now fail in phpcs error or warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
evertton committed Apr 27, 2015
1 parent f37fcad commit ff2dfae
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions build.xml
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -6,10 +6,14 @@
</fileset> </fileset>


<target name="phpcs"> <target name="phpcs">
<phpcodesniffer standard="PSR2"> <phpcodesniffer
standard="PSR2"
showSniffs="false"
showWarnings="true"
haltonerror="${build.haltonanalysiserror}">
<fileset refid="components" /> <fileset refid="components" />
<formatter type="full" usefile="false" /> <formatter type="full" usefile="false" />
</phpcodesniffer> </phpcodesniffer>
</target> </target>


</project> </project>

0 comments on commit ff2dfae

Please sign in to comment.