exclude blowfish.php from code quality checks, it is an external lib
This commit is contained in:
parent
6673414095
commit
cc4c7a02b5
@ -44,7 +44,7 @@
|
||||
<arg line="${source_comma_sep}
|
||||
xml
|
||||
codesize,design,naming,unusedcode
|
||||
--exclude test,build,tcpdf,php-gettext,bfShapeFiles,PMAStandard
|
||||
--exclude test,build,tcpdf,php-gettext,bfShapeFiles,PMAStandard,blowfish.php
|
||||
--reportfile '${basedir}/build/logs/pmd.xml'" />
|
||||
</exec>
|
||||
</target>
|
||||
@ -58,6 +58,7 @@
|
||||
--exclude libraries/tcpdf
|
||||
--exclude libraries/php-gettext
|
||||
--exclude libraries/bfShapeFiles
|
||||
--exclude libraries/blowfish.php
|
||||
${source}" />
|
||||
</exec>
|
||||
</target>
|
||||
@ -71,6 +72,7 @@
|
||||
--exclude libraries/tcpdf
|
||||
--exclude libraries/php-gettext
|
||||
--exclude libraries/bfShapeFiles
|
||||
--exclude libraries/blowfish.php
|
||||
${source}" />
|
||||
</exec>
|
||||
</target>
|
||||
@ -78,7 +80,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/*,*/openlayers/*,*/jquery/*,*/jqplot/*,*/build/*,*/bfShapeFiles/*,*/PMAStandard/*
|
||||
--ignore=*/php-gettext/*,*/tcpdf/*,*/canvg/*,*/codemirror/*,*/openlayers/*,*/jquery/*,*/jqplot/*,*/build/*,*/bfShapeFiles/*,*/PMAStandard/*,libraries/blowfish.php
|
||||
--report=checkstyle
|
||||
--report-file='${basedir}/build/logs/checkstyle.xml'
|
||||
--standard=PMAStandard
|
||||
|
||||
Loading…
Reference in New Issue
Block a user