-
-
Notifications
You must be signed in to change notification settings - Fork 155
Expand file tree
/
Copy pathphpcs.xml.dist
More file actions
20 lines (17 loc) · 730 Bytes
/
phpcs.xml.dist
File metadata and controls
20 lines (17 loc) · 730 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?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>/Request\.php$</exclude-pattern>
<exclude-pattern>/MockTransport\.php$</exclude-pattern>
<exclude-pattern>/tests/MockTransportTest\.php$</exclude-pattern>
</rule>
<rule ref="PSR1.Classes.ClassDeclaration.MultipleClasses">
<exclude-pattern>/tests/XmlFormatterTest\.php$</exclude-pattern>
</rule>
</ruleset>