diff --git a/dev/codesniffer/jenkins_ruleset.xml b/dev/codesniffer/jenkins_ruleset.xml
index f414b6270aff44d7e5d10d7943bb85968004cc4a..556bd7acfa9133111801a8ae597a2e51f7a82bb5 100755
--- a/dev/codesniffer/jenkins_ruleset.xml
+++ b/dev/codesniffer/jenkins_ruleset.xml
@@ -2,6 +2,23 @@
 <!DOCTYPE ruleset SYSTEM "ruleset.dtd">
 <ruleset name="Dolibarr">
 	<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 -->
 
diff --git a/quickbuild.xml b/quickbuild.xml
index 1982ff150e52bb97c45d73fc661cb0b1ecff103d..94b2b0d18f25457ea6aa8966c74f435037a6ac35 100644
--- a/quickbuild.xml
+++ b/quickbuild.xml
@@ -69,7 +69,6 @@
  <target name="phpcs">
  	<exec executable="phpcs" dir="${basedir}">
 		<arg line=" --standard=${basedir}/dev/codesniffer/jenkins_ruleset.xml
-					--ignore=**/conf/*,**/filemanagerdol/*,**/includes/*,**/PEAR/*,**/NET/*,**/HTTP/*,**/zendgdata/*,**/reportico/*
 					--report=checkstyle
 					--report-file=${basedir}/hudson/logs/checkstyle.xml
 					-v