Commit d4250540 authored by Bas de Nooijer's avatar Bas de Nooijer

Merge pull request #209 from bendavies/psr2-build

PSR2 build
parents f602c202 0bdd480d
......@@ -16,7 +16,7 @@
you could also write the switches here)
-->
<target name="phpunit">
<exec executable="phpunit" />
<exec executable="${basedir}/vendor/bin/phpunit" />
</target>
<!-- Run pdepend, phpmd, phpcpd, and phpcs in parallel -->
......@@ -56,8 +56,12 @@ you could also write the switches here)
<!-- Generate checkstyle.xml -->
<target name="phpcs">
<exec executable="phpcs" output="/dev/null">
<arg line="--report=checkstyle --report-file=${basedir}/build/logs/checkstyle.xml --standard=Symfony2 library" />
<exec executable="${basedir}/vendor/bin/phpcs">
<arg value="--report=checkstyle" />
<arg value="--report-file=${basedir}/build/logs/checkstyle.xml" />
<arg value="--standard=PSR2" />
<arg value="--extensions=php" />
<arg path="library" />
</exec>
</target>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment