-
-
Notifications
You must be signed in to change notification settings - Fork 287
Expand file tree
/
Copy pathphpcs.xml.dist
More file actions
21 lines (18 loc) · 712 Bytes
/
phpcs.xml.dist
File metadata and controls
21 lines (18 loc) · 712 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?xml version="1.0" encoding="UTF-8"?>
<ruleset name="Yii2">
<rule ref="vendor/yiisoft/yii2-coding-standards/Yii2"></rule>
<!-- generate relative paths -->
<arg name="basepath" value="src"/>
<!-- directories to check -->
<file>src</file>
<file>tests</file>
<rule ref="Squiz.NamingConventions.ValidVariableName.PrivateNoUnderscore">
<exclude-pattern>/*\.php$</exclude-pattern>
</rule>
<rule ref="PSR2.Files.ClosingTag.NotAllowed">
<exclude-pattern>/gii/form\.php$</exclude-pattern>
</rule>
<rule ref="Squiz.WhiteSpace.ControlStructureSpacing.SpacingAfterOpen">
<exclude-pattern>/gii/default/job\.php$</exclude-pattern>
</rule>
</ruleset>