Merge branch 'develop' of https://github.com/Dolibarr/dolibarr.git into develop

This commit is contained in:
Laurent Destailleur 2012-09-28 16:20:10 +02:00
commit 918d5c9aa2
2 changed files with 17 additions and 1 deletions

View File

@ -2,6 +2,23 @@
<!DOCTYPE ruleset SYSTEM "ruleset.dtd"> <!DOCTYPE ruleset SYSTEM "ruleset.dtd">
<ruleset name="Dolibarr"> <ruleset name="Dolibarr">
<description>Dolibarr coding standard.</description> <description>Dolibarr coding standard.</description>
<!--
You can hard-code ignore patterns directly into your
custom standard so you don't have to specify the
patterns on the command line.
The following two tags are equivalent to the command line
argument: --ignore=*/tests/*,*/data/*
-->
<exclude-pattern>*/conf/*</exclude-pattern>
<exclude-pattern>*/filemanagerdol/*</exclude-pattern>
<exclude-pattern>*/includes/*</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 -->

View File

@ -69,7 +69,6 @@
<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=**/conf/*,**/filemanagerdol/*,**/includes/*,**/PEAR/*,**/NET/*,**/HTTP/*,**/zendgdata/*,**/reportico/*
--report=checkstyle --report=checkstyle
--report-file=${basedir}/hudson/logs/checkstyle.xml --report-file=${basedir}/hudson/logs/checkstyle.xml
-v -v