-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpcs.xml
More file actions
25 lines (20 loc) · 745 Bytes
/
Copy pathphpcs.xml
File metadata and controls
25 lines (20 loc) · 745 Bytes
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
<?xml version="1.0"?>
<ruleset name="PhpSwag Coding Standard">
<description>The coding standard for PhpSwag.</description>
<!-- Use PSR12 as the base standard -->
<rule ref="PSR12"/>
<!-- Ignore line length limits in test files as they contain long inline fixture strings -->
<rule ref="Generic.Files.LineLength">
<exclude-pattern>tests/*</exclude-pattern>
</rule>
<!-- Paths to check -->
<file>src</file>
<file>tests</file>
<!-- Exclude fixtures from tests -->
<exclude-pattern>tests/fixtures/*</exclude-pattern>
<!-- Exclude vendor directory -->
<exclude-pattern>vendor/*</exclude-pattern>
<!-- Additional config -->
<arg name="colors"/>
<arg value="p"/>
</ruleset>