-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpcs.xml
More file actions
33 lines (31 loc) · 1.2 KB
/
phpcs.xml
File metadata and controls
33 lines (31 loc) · 1.2 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
29
30
31
32
33
<?xml version="1.0"?>
<ruleset name="FAPI Signals">
<description>Project coding standard.</description>
<rule ref="PSR12">
<properties>
<property name="lineLimit" value="200"/>
<property name="absoluteLineLimit" value="200"/>
</properties>
</rule>
<file>fapi-signals.php</file>
<file>uninstall.php</file>
<file>src</file>
<file>tests</file>
<exclude-pattern>fapi-signals.php</exclude-pattern>
<rule ref="Generic.Files.LineLength">
<exclude-pattern>src/Tracking/SnippetBuilder.php</exclude-pattern>
<exclude-pattern>src/Admin/SettingsPage.php</exclude-pattern>
</rule>
<rule ref="Squiz.Classes.ValidClassName">
<exclude-pattern>tests/PageViewDispatcherTest.php</exclude-pattern>
</rule>
<rule ref="PSR1.Methods.CamelCapsMethodName">
<exclude-pattern>tests/PageViewDispatcherTest.php</exclude-pattern>
</rule>
<rule ref="PSR1.Classes.ClassDeclaration">
<exclude-pattern>tests/PageViewDispatcherTest.php</exclude-pattern>
</rule>
<exclude-pattern>vendor/*</exclude-pattern>
<exclude-pattern>wporg/*</exclude-pattern>
<exclude-pattern>node_modules/*</exclude-pattern>
</ruleset>