-
Notifications
You must be signed in to change notification settings - Fork 1
/
phpcs.xml
50 lines (39 loc) · 1.42 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?xml version="1.0"?>
<ruleset>
<description>alleyinteractive/create-mantle-app</description>
<arg value="ps" />
<exclude-pattern>plugins/</exclude-pattern>
<exclude-pattern>mu-plugins/</exclude-pattern>
<exclude-pattern>index.php</exclude-pattern>
<exclude-pattern>themes/twentytwenty</exclude-pattern>
<rule ref="Alley-Interactive" />
<rule ref="WordPress">
<exclude name="WordPress.NamingConventions.ValidPostTypeSlug.NotStringLiteral" />
</rule>
<rule ref="WordPress.NamingConventions.PrefixAllGlobals">
<properties>
<property name="prefixes" type="array">
<element value="App"/>
</property>
</properties>
<exclude-pattern>views/</exclude-pattern>
</rule>
<rule ref="Squiz.Commenting.FunctionComment">
<exclude-pattern>src/mantle/framework/container/class-container.php</exclude-pattern>
</rule>
<rule ref="Squiz.PHP.DisallowMultipleAssignments">
<exclude-pattern>src/mantle/framework/container/class-container.php</exclude-pattern>
</rule>
<rule ref="WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned">
<exclude-pattern>config</exclude-pattern>
</rule>
<rule ref="Generic.CodeAnalysis.UselessOverridingMethod.Found">
<exclude-pattern>app/</exclude-pattern>
</rule>
<rule ref="Squiz.PHP.CommentedOutCode.Found">
<exclude-pattern>routes/</exclude-pattern>
</rule>
<rule ref="Squiz.Commenting.InlineComment">
<exclude-pattern>routes/</exclude-pattern>
</rule>
</ruleset>