diff --git a/phpcs.xml b/phpcs.xml
index 3285a9a6a0971ea025d59cfa4867eb57d8e5d3ba..328ad812790235536e1a01d94262f8fcf6d5f1a9 100644
--- a/phpcs.xml
+++ b/phpcs.xml
@@ -14,6 +14,7 @@
     <file>src</file>
     <file>tests</file>
     <file>www</file>
+    <exclude-pattern>modules/adfs/*</exclude-pattern>
 
     <!-- This is the rule we inherit from. If you want to exlude some specific rules, see the docs on how to do that -->
     <rule ref="PSR12"/>