-
Notifications
You must be signed in to change notification settings - Fork 3
/
phpcs.xml
30 lines (30 loc) · 1.24 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
<?xml version="1.0"?>
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="vendor/squizlabs/php_codesniffer/phpcs.xsd">
<description>Rvvup ruleset</description>
<rule ref="Magento2"/>
<rule ref="Generic.Files.LineLength.TooLong">
<exclude-pattern>*\.phtml</exclude-pattern>
<exclude-pattern>*\.xml</exclude-pattern>
</rule>
<rule ref="Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation">
<exclude-pattern>*\.php</exclude-pattern>
</rule>
<rule ref="Magento2.Annotation.MethodArguments.NoCommentBlock">
<exclude-pattern>*\.php</exclude-pattern>
</rule>
<rule ref="Magento2.Less.CommentLevels.SpaceMissed">
<exclude-pattern>*\.less</exclude-pattern>
</rule>
<rule ref="Magento2.Annotation.MethodArguments.InheritDoc">
<exclude-pattern>*\.php</exclude-pattern>
</rule>
<rule ref="Magento2.Less.PropertiesSorting.PropertySorting">
<exclude-pattern>*\.less</exclude-pattern>
</rule>
<arg name="encoding" value="UTF-8"/>
<arg value="sp"/>
<file>./</file>
<exclude-pattern>CI</exclude-pattern>
<exclude-pattern>Test</exclude-pattern>
<exclude-pattern>vendor</exclude-pattern>
</ruleset>