forked from magento/magento-coding-standard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathruleset.xml
35 lines (32 loc) · 1.3 KB
/
ruleset.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
<?xml version="1.0"?>
<ruleset name="Magento2Framework">
<description>Magento Coding Standard sniffs applicable for the framework testing only</description>
<arg name="extensions" value="php,phtml,graphqls/GRAPHQL,less/CSS,html/CSS,css/CSS,xml,js/JS"/>
<rule ref="Magento2Framework.Header.License">
<severity>5</severity>
<type>warning</type>
<exclude-pattern>*/PHPCompatibility/*</exclude-pattern>
</rule>
<rule ref="Magento2Framework.Header.CopyrightAnotherExtensionsFiles">
<severity>5</severity>
<type>warning</type>
<exclude-pattern>*\.php$</exclude-pattern>
<exclude-pattern>*\.phtml$</exclude-pattern>
</rule>
<rule ref="Magento2Framework.Header.Copyright">
<severity>5</severity>
<type>warning</type>
<exclude-pattern>*/PHPCompatibility/*</exclude-pattern>
<include-pattern>*\.php$</include-pattern>
<include-pattern>*\.phtml$</include-pattern>
<exclude-pattern>*/PHPCSUtils/*</exclude-pattern>
</rule>
<rule ref="Magento2Framework.Header.CopyrightGraphQL">
<severity>5</severity>
<type>warning</type>
<include-pattern>*\.graphqls$</include-pattern>
</rule>
<rule ref="Internal.NoCodeFound">
<severity>0</severity>
</rule>
</ruleset>