diff --git a/phpcs.xml.dist b/phpcs.xml.dist
index ded85440258b1ebe6c76af2c9c322b09748daf1a..090f2dbd15ace35b5cd009d0c42c87d7e151e29b 100644
--- a/phpcs.xml.dist
+++ b/phpcs.xml.dist
@@ -3,8 +3,9 @@
 
     <description>Coding standard of Irstea, pôle informatique scientifique</description>
 
-    <file>src</file>
+    <file>.</file>
 
+    <arg name="extensions" value="php"/>
     <arg name="encoding" value="utf-8"/>
     <arg value="sp"/>