mirror of
https://github.com/xevidos/codiad.git
synced 2024-12-22 13:52:16 +01:00
20 lines
456 B
XML
20 lines
456 B
XML
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||
|
<project name="Codiad" basedir="." default="phpcs">
|
||
|
|
||
|
<fileset id="components" dir="./components">
|
||
|
<include name="**/*.php" />
|
||
|
</fileset>
|
||
|
|
||
|
<target name="phpcs">
|
||
|
<phpcodesniffer
|
||
|
standard="PSR2"
|
||
|
showSniffs="false"
|
||
|
showWarnings="true"
|
||
|
haltonerror="${build.haltonanalysiserror}">
|
||
|
<fileset refid="components" />
|
||
|
<formatter type="full" usefile="false" />
|
||
|
</phpcodesniffer>
|
||
|
</target>
|
||
|
|
||
|
</project>
|