forked from silverstripe/silverstripe-upgrader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpcs.xml.dist
19 lines (19 loc) · 897 Bytes
/
phpcs.xml.dist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?xml version="1.0" encoding="UTF-8"?>
<ruleset name="SilverStripe">
<rule ref="PSR2" />
<rule ref="Squiz.Commenting.FunctionComment">
<include-pattern>*/src/Composer/*</include-pattern>
<include-pattern>*/src/CodeCollection/*</include-pattern>
<exclude name="Squiz.Commenting.FunctionComment.MissingParamComment"/>
<exclude name="Squiz.Commenting.FunctionComment.SpacingAfterParamName"/>
<exclude name="Squiz.Commenting.FunctionComment.SpacingAfterParamType"/>
</rule>
<rule ref="Squiz.Commenting.FunctionCommentThrowTag">
<include-pattern>*/src/Composer/*</include-pattern>
<include-pattern>*/src/CodeCollection/*</include-pattern>
</rule>
<rule ref="Squiz.Commenting.ClassComment">
<include-pattern>*/src/Composer/*</include-pattern>
<include-pattern>*/src/CodeCollection/*</include-pattern>
</rule>
</ruleset>