Remove no longer needed excludes from build configuration

Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
Michal Čihař 2016-02-17 15:05:16 +01:00
parent 08277b052b
commit 315e7d3982
2 changed files with 2 additions and 11 deletions

View File

@ -55,7 +55,7 @@
<arg line="${source_comma_sep}
xml
codesize,design,naming,unusedcode
--exclude test,build,tcpdf,php-gettext,bfShapeFiles,PMAStandard,phpseclib,recaptchalib.php,vendor,sql-parser
--exclude test,build,bfShapeFiles,PMAStandard,recaptchalib.php,vendor
--reportfile '${basedir}/build/logs/pmd.xml'" />
</exec>
</target>
@ -67,12 +67,9 @@
--exclude PMAStandard
--exclude build
--exclude vendor
--exclude libraries/tcpdf
--exclude libraries/php-gettext
--exclude libraries/bfShapeFiles
--exclude libraries/phpseclib
--exclude libraries/plugins/auth/recaptcha/recaptchalib.php
--exclude libraries/sql-parser
${source}" />
</exec>
</target>
@ -84,12 +81,9 @@
--exclude PMAStandard
--exclude build
--exclude vendor
--exclude libraries/tcpdf
--exclude libraries/php-gettext
--exclude libraries/bfShapeFiles
--exclude libraries/phpseclib
--exclude libraries/plugins/auth/recaptcha/recaptchalib.php
--exclude libraries/sql-parser
${source}" />
</exec>
</target>
@ -97,7 +91,7 @@
<target name="phpcs" description="Generate checkstyle.xml using PHP_CodeSniffer excluding third party libraries">
<exec executable="phpcs">
<arg line="
--ignore=*/php-gettext/*,*/vendor/*,*/tcpdf/*,*/canvg/*,*/codemirror/*,*/openlayers/*,*/jquery/*,*/jqplot/*,*/build/*,*/bfShapeFiles/*,*/PMAStandard/*,*/phpseclib/*,*/recaptcha/*,*/sql-parser/*
--ignore=*/php-gettext/*,*/vendor/*,*/canvg/*,*/codemirror/*,*/openlayers/*,*/jquery/*,*/jqplot/*,*/build/*,*/bfShapeFiles/*,*/PMAStandard/*,*/recaptcha/*
--report=checkstyle
--extensions=php
--report-file='${basedir}/build/logs/checkstyle.xml'

View File

@ -47,9 +47,6 @@
<directory suffix=".inc">libraries/php-gettext</directory>
<directory suffix=".php">libraries/bfShapeFiles</directory>
<directory suffix=".php">libraries/php-gettext</directory>
<directory suffix=".php">libraries/phpseclib</directory>
<directory suffix=".php">libraries/sql-parser</directory>
<directory suffix=".php">libraries/tcpdf</directory>
<!-- code sniffer checker -->
<directory suffix=".php">PMAStandard</directory>
<!-- examples for users -->