diff --git a/phpcs.xml.dist b/phpcs.xml.dist
index 42ebf283bbc18fc2aebf2bfa502531fd9127f377..aac3ad40aa1229bf17642300922c257f66733ea5 100644
--- a/phpcs.xml.dist
+++ b/phpcs.xml.dist
@@ -3,6 +3,7 @@
     <file>./ecrire</file>
     <file>./prive</file>
     <exclude-pattern>ecrire/lang/*</exclude-pattern>
+    <exclude-pattern>ecrire/tests/**/*</exclude-pattern>
 
     <rule ref="SPIP50"/>