|
55 | 55 | <arg line="${source_comma_sep} |
56 | 56 | xml |
57 | 57 | codesize,design,naming,unusedcode |
58 | | - --exclude test,build,tcpdf,php-gettext,bfShapeFiles,phpseclib,recaptchalib.php,swekey.php,vendor,sql-parser |
| 58 | + --exclude test,build,tcpdf,php-gettext,bfShapeFiles,phpseclib,recaptchalib.php,vendor,sql-parser |
59 | 59 | --reportfile '${basedir}/build/logs/pmd.xml'" /> |
60 | 60 | </exec> |
61 | 61 | </target> |
|
71 | 71 | --exclude libraries/bfShapeFiles |
72 | 72 | --exclude libraries/phpseclib |
73 | 73 | --exclude libraries/plugins/auth/recaptcha/recaptchalib.php |
74 | | - --exclude libraries/plugins/auth/swekey/swekey.php |
75 | 74 | --exclude libraries/sql-parser |
76 | 75 | ${source}" /> |
77 | 76 | </exec> |
|
88 | 87 | --exclude libraries/bfShapeFiles |
89 | 88 | --exclude libraries/phpseclib |
90 | 89 | --exclude libraries/plugins/auth/recaptcha/recaptchalib.php |
91 | | - --exclude libraries/plugins/auth/swekey/swekey.php |
92 | 90 | --exclude libraries/sql-parser |
93 | 91 | ${source}" /> |
94 | 92 | </exec> |
|
103 | 101 | <target name="phpcs" description="Generate checkstyle.xml using PHP_CodeSniffer excluding third party libraries" depends="phpcs-config"> |
104 | 102 | <exec executable="phpcs"> |
105 | 103 | <arg line=" |
106 | | - --ignore=*/php-gettext/*,*/vendor/*,*/tcpdf/*,*/canvg/*,*/codemirror/*,*/openlayers/*,*/jquery/*,*/jqplot/*,*/build/*,*/bfShapeFiles/*,*/phpseclib/*,*/recaptcha/*,*/swekey/*,*/sql-parser/* |
| 104 | + --ignore=*/php-gettext/*,*/vendor/*,*/tcpdf/*,*/canvg/*,*/codemirror/*,*/openlayers/*,*/jquery/*,*/jqplot/*,*/build/*,*/bfShapeFiles/*,*/phpseclib/*,*/recaptcha/*,*/sql-parser/* |
107 | 105 | --report=checkstyle |
108 | 106 | --extensions=php |
109 | 107 | --report-file='${basedir}/build/logs/checkstyle.xml' |
|
0 commit comments