-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathphpcs.xml.dist
More file actions
45 lines (37 loc) · 1.74 KB
/
Copy pathphpcs.xml.dist
File metadata and controls
45 lines (37 loc) · 1.74 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
34
35
36
37
38
39
40
41
42
43
44
45
<?xml version="1.0"?>
<ruleset>
<rule ref="Syde-Extra" />
<config name="testVersion" value="8.2-" />
<file>./plugin.php</file>
<file>./src</file>
<file>./tests</file>
<arg name="colors" />
<arg value="sp" />
<config name="ignore_warnings_on_exit" value="1" />
<!-- PSR-4 namespace configuration. -->
<rule ref="SlevomatCodingStandard.Files.TypeNameMatchesFileName">
<properties>
<property name="rootNamespaces" type="array">
<element key="src" value="n5s\PageForCustomPostType" />
<element key="tests" value="n5s\PageForCustomPostType\Tests" />
<element key="tests/unit" value="n5s\PageForCustomPostType\Tests\Unit" />
<element key="tests/integration" value="n5s\PageForCustomPostType\Tests\Integration" />
</property>
</properties>
</rule>
<rule ref="Syde-Extra">
<exclude name="Syde.Functions.FunctionLength.TooLong" />
<exclude name="Syde.Files.LineLength.TooLong" />
<exclude name="Syde.Classes.DisallowGetterSetter.GetterFound" />
<exclude name="Syde.NamingConventions.ElementNameMinimalLength.TooShort" />
<exclude name="SlevomatCodingStandard.Classes.ForbiddenPublicProperty.ForbiddenPublicProperty" />
</rule>
<rule ref="SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses"/>
<rule ref="SlevomatCodingStandard.Namespaces.UseDoesNotStartWithBackslash"/>
<rule ref="SlevomatCodingStandard.Namespaces.FullyQualifiedGlobalConstants"/>
<rule ref="SlevomatCodingStandard.Namespaces.FullyQualifiedGlobalFunctions">
<properties>
<property name="includeSpecialFunctions" value="true"/>
</properties>
</rule>
</ruleset>