From bf03e40931febf05feed48121d1d6f58f9fd52a4 Mon Sep 17 00:00:00 2001
From: Tim van Dijen <tvdijen@gmail.com>
Date: Sat, 26 Oct 2019 18:04:15 +0200
Subject: [PATCH] Ignore errors in old resource files; they will be removed in
 2.0 anyway

---
 phpcs.xml | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/phpcs.xml b/phpcs.xml
index 15c8459e5..66b26c8ac 100644
--- a/phpcs.xml
+++ b/phpcs.xml
@@ -31,9 +31,12 @@
     <exclude-pattern>tests/lib/SimpleSAML/Auth/TimeLimitedTokenTest.php</exclude-pattern>
     <exclude-pattern>www/shib13</exclude-pattern>
 
-    <!-- Exclude old PHP templates; they are removed in SSP 2.0 -->
+    <!-- Exclude old PHP templates (and related); they are removed in SSP 2.0 -->
     <exclude-pattern>modules/*/templates/*.tpl.php</exclude-pattern>
     <exclude-pattern>templates/*.tpl.php</exclude-pattern>
+    <exclude-pattern>www/resources/jquery-ui-1.8.js</exclude-pattern>
+    <exclude-pattern>www/resources/clipboard.min.js</exclude-pattern>
+    <exclude-pattern>www/resources/jquery-1.8.js</exclude-pattern>
 
     <!-- Exclude Stubs until we use simplesamlphp/simplesamlphp-test-framework -->
     <exclude-pattern>tests/Utils/Stubs/*</exclude-pattern>
@@ -61,7 +64,7 @@
         <exclude-pattern>lib/SimpleSAML/XHTML/Template.php</exclude-pattern>
     </rule>
 
-    <!-- Ignore files with sid effects that we cannot fix -->
+    <!-- Ignore files with side effects that we cannot fix -->
     <rule ref="PSR1.Files.SideEffects">
         <exclude-pattern>lib/_autoload_modules.php</exclude-pattern>
         <exclude-pattern>tests/_autoload_modules.php</exclude-pattern>
-- 
GitLab