diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8b45479ae6e3edb4feb5029f35fbbdad85324f14..79ed7aabb3298163023f68c9dd53aca8927b89b3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -20,7 +20,7 @@ phploc:
 
 lint:
   <<: *defaults
-  script: parallel-lint  -j $(nproc) --exclude vendor .
+  script: parallel-lint -j $(nproc) --exclude vendor .
 
 phpcs:
   <<: *defaults
@@ -33,5 +33,5 @@ phpcpd:
 
 phpmd:
   <<: *defaults
-  script: phpmd . text ./phpmd.xml --suffixes=php
+  script: phpmd . text /rules/phpmd.xml --suffixes=php
   allow_failure: true
diff --git a/phpcs.xml.dist b/phpcs.xml.dist
deleted file mode 100644
index 090f2dbd15ace35b5cd009d0c42c87d7e151e29b..0000000000000000000000000000000000000000
--- a/phpcs.xml.dist
+++ /dev/null
@@ -1,24 +0,0 @@
-<?xml version="1.0"?>
-<ruleset name="Irstea" namespace="Irstea\Standard">
-
-    <description>Coding standard of Irstea, pôle informatique scientifique</description>
-
-    <file>.</file>
-
-    <arg name="extensions" value="php"/>
-    <arg name="encoding" value="utf-8"/>
-    <arg value="sp"/>
-
-    <rule ref="PSR2"/>
-
-    <rule ref="Generic.Files.LineLength">
-        <properties>
-            <property name="lineLimit" value="140"/>
-        </properties>
-    </rule>
-
-    <exclude-pattern>vendor/</exclude-pattern>
-    <exclude-pattern>node_modules/</exclude-pattern>
-    <exclude-pattern>cache/</exclude-pattern>
-
-</ruleset>
diff --git a/phpmd.xml b/phpmd.xml
deleted file mode 100755
index a773130258f9462dd7f966ab3b1411a60646e8a5..0000000000000000000000000000000000000000
--- a/phpmd.xml
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0"?>
-<ruleset name="Irstea PHPMD ruleset"
-         xmlns="http://pmd.sf.net/ruleset/1.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0 http://pmd.sf.net/ruleset_xml_schema.xsd">
-
-    <description>Irstea ruleset</description>
-
-    <rule ref="rulesets/unusedcode.xml"/>
-    <rule ref="rulesets/codesize.xml"/>
-    <rule ref="rulesets/design.xml"/>
-    <rule ref="rulesets/controversial.xml"/>
-
-    <rule ref="rulesets/cleancode.xml/StaticAccess">
-        <properties>
-            <property name="exceptions" value="\DateTime,\DateTimeZone,\Doctrine\DBAL\Types\ConversionException"/>
-        </properties>
-    </rule>
-
-    <rule ref="rulesets/naming.xml">
-        <exclude name="ShortVariable"/>
-    </rule>
-
-    <rule ref="rulesets/naming.xml/ShortVariable">
-        <properties>
-            <property name="exceptions" value="em,tz,i,j,id,x,y,dn,fh,ex"/>
-        </properties>
-    </rule>
-
-    <exclude-pattern>vendor/</exclude-pattern>
-    <exclude-pattern>node_modules/</exclude-pattern>
-    <exclude-pattern>.*/cache/</exclude-pattern>
-
-</ruleset>