Skip to content

Commit bf03e40

Browse files
committed
Ignore errors in old resource files; they will be removed in 2.0 anyway
1 parent fac29ca commit bf03e40

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

phpcs.xml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,12 @@
3131
<exclude-pattern>tests/lib/SimpleSAML/Auth/TimeLimitedTokenTest.php</exclude-pattern>
3232
<exclude-pattern>www/shib13</exclude-pattern>
3333

34-
<!-- Exclude old PHP templates; they are removed in SSP 2.0 -->
34+
<!-- Exclude old PHP templates (and related); they are removed in SSP 2.0 -->
3535
<exclude-pattern>modules/*/templates/*.tpl.php</exclude-pattern>
3636
<exclude-pattern>templates/*.tpl.php</exclude-pattern>
37+
<exclude-pattern>www/resources/jquery-ui-1.8.js</exclude-pattern>
38+
<exclude-pattern>www/resources/clipboard.min.js</exclude-pattern>
39+
<exclude-pattern>www/resources/jquery-1.8.js</exclude-pattern>
3740

3841
<!-- Exclude Stubs until we use simplesamlphp/simplesamlphp-test-framework -->
3942
<exclude-pattern>tests/Utils/Stubs/*</exclude-pattern>
@@ -61,7 +64,7 @@
6164
<exclude-pattern>lib/SimpleSAML/XHTML/Template.php</exclude-pattern>
6265
</rule>
6366

64-
<!-- Ignore files with sid effects that we cannot fix -->
67+
<!-- Ignore files with side effects that we cannot fix -->
6568
<rule ref="PSR1.Files.SideEffects">
6669
<exclude-pattern>lib/_autoload_modules.php</exclude-pattern>
6770
<exclude-pattern>tests/_autoload_modules.php</exclude-pattern>

0 commit comments

Comments
 (0)