diff options
author | Michal Čihař <michal@cihar.com> | 2017-08-22 15:11:08 +0300 |
---|---|---|
committer | Michal Čihař <michal@cihar.com> | 2017-08-22 15:11:08 +0300 |
commit | 57897752fbe81d9f4d3e7f4c47277652af181efc (patch) | |
tree | 81d60520f69eb44c19d6a459adefd74ae4ce8ccc /build.xml | |
parent | 9b250048909c4ebb3259ecae75140194ec7b1fcb (diff) |
Exclude tmp from all checks
Signed-off-by: Michal Čihař <michal@cihar.com>
Diffstat (limited to 'build.xml')
-rw-r--r-- | build.xml | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -55,7 +55,7 @@ <arg line="${source_comma_sep} xml codesize,design,naming,unusedcode - --exclude test,build,vendor + --exclude test,build,vendor,tmp --reportfile '${basedir}/build/logs/pmd.xml'" /> </exec> </target> @@ -64,6 +64,7 @@ <exec executable="phpcpd"> <arg line="--log-pmd '${basedir}/build/logs/pmd-cpd.xml' --exclude test + --exclude tmp --exclude build --exclude vendor ${source}" /> @@ -76,6 +77,7 @@ --exclude test --exclude build --exclude vendor + --exclude tmp ${source}" /> </exec> </target> @@ -89,7 +91,7 @@ <target name="phpcs" description="Generate checkstyle.xml using PHP_CodeSniffer excluding third party libraries" depends="phpcs-config"> <exec executable="phpcs"> <arg line=" - --ignore=*/vendor/*,*/build/* + --ignore=*/vendor/*,*/build/*,*/tmp/* --report=checkstyle --extensions=php --report-file='${basedir}/build/logs/checkstyle.xml' |