forked from keywan-ghadami-oxid/test-oxid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpcs.xml
37 lines (37 loc) · 1.69 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
<?xml version="1.0"?>
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="PHP_CodeSniffer" xsi:noNamespaceSchemaLocation="phpcs.xsd">
<config name="testVersion" value="7.4-8.0" />
<rule ref="PSR12" />
<arg name="colors" />
<arg name="parallel" value="75" />
<arg name="extensions" value="php" />
<arg value="p" />
<arg value="s" />
<file>project-modules</file>
<rule ref="Squiz.WhiteSpace.ObjectOperatorSpacing">
<properties>
<property name="ignoreNewlines" value="true" />
</properties>
</rule>
<rule ref="Squiz.Classes.ValidClassName.NotCamelCaps">
<exclude-pattern>*/shortcodes/*</exclude-pattern>
<exclude-pattern>*/project-modules/XmlSitemaps/*</exclude-pattern>
</rule>
<rule ref="PSR1.Classes.ClassDeclaration.MissingNamespace">
<exclude-pattern>*/shortcodes/*</exclude-pattern>
<exclude-pattern>*/project-modules/XmlSitemaps/*</exclude-pattern>
</rule>
<rule ref="PSR2.Classes.PropertyDeclaration.Underscore">
<exclude-pattern>*/shortcodes/*</exclude-pattern>
<exclude-pattern>*/ddpkts/*</exclude-pattern>
<exclude-pattern>*/project-modules/XmlSitemaps/*</exclude-pattern>
</rule>
<rule ref="Generic.Files.LineLength.TooLong">
<exclude-pattern>*/shortcodes/*</exclude-pattern>
<exclude-pattern>*/translations/*</exclude-pattern>
<exclude-pattern>*/ddpkts/*</exclude-pattern>
<exclude-pattern>*/userdocuments/views/admin/de/*</exclude-pattern>
<exclude-pattern>*/userdocuments/views/admin/en/*</exclude-pattern>
<exclude-pattern>*/project-modules/XmlSitemaps/*</exclude-pattern>
</rule>
</ruleset>