-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathruleset.xml
More file actions
16 lines (16 loc) · 785 Bytes
/
Copy pathruleset.xml
File metadata and controls
16 lines (16 loc) · 785 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?xml version="1.0" encoding="UTF-8"?>
<ruleset name="DevGroupRU-Yii2">
<description>Yii 2 Web Application Framework Coding Standard modified for DevGroup.ru</description>
<exclude-pattern>*/tests/*</exclude-pattern>
<exclude-pattern>*/vendor/*</exclude-pattern>
<rule ref="vendor/yiisoft/yii2-coding-standards/Yii2">
<!-- Property names MUST NOT start with an initial underscore if they are private. -->
<exclude name="Yii2.Properties.PrivatePropertiesUnderscore"/>
</rule>
<rule ref="Squiz.Classes.ValidClassName.NotCamelCaps">
<exclude-pattern>*/migrations/*</exclude-pattern>
</rule>
<rule ref="PSR1.Classes.ClassDeclaration.MissingNamespace">
<exclude-pattern>*/migrations/*</exclude-pattern>
</rule>
</ruleset>