diff options
author | Michal Čihař <mcihar@suse.cz> | 2012-04-26 18:05:57 +0400 |
---|---|---|
committer | Michal Čihař <mcihar@suse.cz> | 2012-04-26 18:05:57 +0400 |
commit | eb8ebf466799f6a9a3c1e4ea08b84d0f99e5489c (patch) | |
tree | 2b416eeabc3ed038977a03658316aa877e93ffef /build.xml | |
parent | ed6d9776dc165a38004fd620b9bed4f25afadfd2 (diff) |
Exclude coding standard files
Diffstat (limited to 'build.xml')
-rw-r--r-- | build.xml | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -38,7 +38,7 @@ <arg line="${source_comma_sep} xml codesize,design,naming,unusedcode - --exclude test,build,tcpdf,php-gettext,bfShapeFiles + --exclude test,build,tcpdf,php-gettext,bfShapeFiles,PMAStandard --reportfile ${basedir}/build/logs/pmd.xml" /> </exec> </target> @@ -47,6 +47,7 @@ <exec executable="phpcpd"> <arg line="--log-pmd ${basedir}/build/logs/pmd-cpd.xml --exclude test + --exclude PMAStandard --exclude build --exclude libraries/tcpdf --exclude libraries/php-gettext @@ -59,6 +60,7 @@ <exec executable="phploc"> <arg line="--log-csv ${basedir}/build/logs/phploc.csv --exclude test + --exclude PMAStandard --exclude build --exclude libraries/tcpdf --exclude libraries/php-gettext @@ -70,7 +72,7 @@ <target name="phpcs" description="Generate checkstyle.xml using PHP_CodeSniffer excluding test, tcpdf directories"> <exec executable="phpcs"> <arg line=" - --ignore=*/php-gettext/*,*/tcpdf/*,*/canvg/*,*/codemirror/*,*/highcharts/*,*/openlayers/*,*/jquery/*,*/build/*,*/bfShapeFiles/* + --ignore=*/php-gettext/*,*/tcpdf/*,*/canvg/*,*/codemirror/*,*/highcharts/*,*/openlayers/*,*/jquery/*,*/build/*,*/bfShapeFiles/*,*/PMAStandard/* --report=checkstyle --report-file=${basedir}/build/logs/checkstyle.xml --standard=PMAStandard |