-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathphpcs.xml
28 lines (23 loc) · 1.03 KB
/
phpcs.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?xml version="1.0"?>
<ruleset name="SimpleSAMLphp ruleset">
<config name="ignore_warnings_on_exit" value="1"/>
<description>
By default it is less stringent about long lines than other coding standards
</description>
<file>config</file>
<file>public</file>
<file>src</file>
<file>templates</file>
<file>tests</file>
<!-- Ignore files with side effects that we cannot fix -->
<rule ref="PSR1.Files.SideEffects">
<exclude-pattern>tests/bootstrap.php</exclude-pattern>
<exclude-pattern>tests/public/UtilsTest.php</exclude-pattern>
<exclude-pattern>tests/www/UtilsTest.php</exclude-pattern>
</rule>
<!-- Use this to exclude paths. You can have multiple patterns -->
<exclude-pattern>tests/config/*</exclude-pattern>
<!-- This is the rule we inherit from. If you want to exclude some specific rules, see the docs on how to do that -->
<rule ref="PSR12"/>
<rule ref="vendor/simplesamlphp/simplesamlphp-test-framework/phpcs-simplesamlphp.xml"/>
</ruleset>