regression and add slash at end

This commit is contained in:
Regis Houssin 2012-09-28 17:51:35 +02:00
parent d8a0fed001
commit 44dde562fa
2 changed files with 1 additions and 12 deletions

View File

@ -3,18 +3,6 @@
<ruleset name="Dolibarr"> <ruleset name="Dolibarr">
<description>Dolibarr coding standard.</description> <description>Dolibarr coding standard.</description>
<exclude-pattern>*/conf/*</exclude-pattern>
<exclude-pattern>*/filemanagerdol/*</exclude-pattern>
<exclude-pattern>*/includes/*</exclude-pattern>
<exclude-pattern>*/includes/nusoap/*</exclude-pattern>
<exclude-pattern>*/includes/nusoap/lib/*</exclude-pattern>
<exclude-pattern>*/includes/nusoap/lib/Mail/*</exclude-pattern>
<exclude-pattern>*/PEAR/*</exclude-pattern>
<exclude-pattern>*/NET/*</exclude-pattern>
<exclude-pattern>*/HTTP/*</exclude-pattern>
<exclude-pattern>*/zendgdata/*</exclude-pattern>
<exclude-pattern>*/reportico/*</exclude-pattern>
<!-- List of all tests --> <!-- List of all tests -->
<rule ref="Generic.CodeAnalysis.EmptyStatement" /> <rule ref="Generic.CodeAnalysis.EmptyStatement" />

View File

@ -69,6 +69,7 @@
<target name="phpcs"> <target name="phpcs">
<exec executable="phpcs" dir="${basedir}"> <exec executable="phpcs" dir="${basedir}">
<arg line=" --standard=${basedir}/dev/codesniffer/jenkins_ruleset.xml <arg line=" --standard=${basedir}/dev/codesniffer/jenkins_ruleset.xml
--ignore=${basedir}/htdocs/conf/,${basedir}/htdocs/core/filemanagerdol/,${basedir}/htdocs/includes/
--report=checkstyle --report=checkstyle
--report-file=${basedir}/hudson/logs/checkstyle.xml --report-file=${basedir}/hudson/logs/checkstyle.xml
-v -v