-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathphpcs.xml
More file actions
50 lines (41 loc) · 1.66 KB
/
Copy pathphpcs.xml
File metadata and controls
50 lines (41 loc) · 1.66 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
46
47
48
49
50
<?xml version="1.0" encoding="UTF-8"?>
<ruleset name="Angeo AEO Brand Visibility">
<description>PHP CodeSniffer rules for angeo/module-aeo-brand-visibility</description>
<file>Console</file>
<file>Controller</file>
<file>Cron</file>
<file>Model</file>
<file>Service</file>
<file>Ui</file>
<exclude-pattern>*/Test/*</exclude-pattern>
<exclude-pattern>*/vendor/*</exclude-pattern>
<config name="php_version" value="80200"/>
<rule ref="PSR12"/>
<rule ref="Magento2">
<exclude name="Magento2.Functions.DiscouragedFunction"/>
</rule>
<rule ref="Generic.Files.LineLength">
<properties>
<property name="lineLimit" value="120"/>
<property name="absoluteLineLimit" value="160"/>
</properties>
</rule>
<rule ref="SlevomatCodingStandard.TypeHints.DeclareStrictTypes">
<properties>
<property name="declareOnFirstLine" value="false"/>
<property name="linesCountBeforeDeclare" value="1"/>
<property name="linesCountAfterDeclare" value="1"/>
<property name="spacesCountAroundEqualsSign" value="0"/>
</properties>
</rule>
<rule ref="SlevomatCodingStandard.TypeHints.ReturnTypeHint"/>
<rule ref="SlevomatCodingStandard.TypeHints.ParameterTypeHint">
<exclude name="SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingNativeTypeHint"/>
</rule>
<rule ref="SlevomatCodingStandard.Namespaces.UnusedUses">
<properties>
<property name="searchAnnotations" value="true"/>
</properties>
</rule>
<rule ref="SlevomatCodingStandard.Variables.UnusedVariable"/>
</ruleset>