-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpcs.xml
More file actions
28 lines (23 loc) · 1.08 KB
/
phpcs.xml
File metadata and controls
28 lines (23 loc) · 1.08 KB
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="WS-Trust ruleset">
<description>
By default it is less stringent about long lines than other coding standards
</description>
<!-- Use this to exclude paths. You can have multiple patterns -->
<!--<exclude-pattern>*/tests/*</exclude-pattern>-->
<!--<exclude-pattern>*/other/*</exclude-pattern>-->
<file>src</file>
<file>tests/Policy</file>
<!-- 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"/>
<!-- Lines can be a little bit longer before they break the build -->
<rule ref="Generic.Files.LineLength">
<properties>
<property name="lineLimit" value="120"/>
<property name="absoluteLineLimit" value="130"/>
</properties>
<!-- Exclude files with long lines that we cannot immediately fix -->
<exclude-pattern>src/classes/element.registry.php</exclude-pattern>
</rule>
</ruleset>