forked from zerodahero/laravel-workflow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpcs.xml
40 lines (34 loc) · 1.7 KB
/
phpcs.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
36
37
38
39
40
<?xml version="1.0"?>
<ruleset name="custom">
<description>PSR2</description>
<rule ref="PSR2" />
<file>src/</file>
<exclude-pattern>vendor</exclude-pattern>
<exclude-pattern>tests/</exclude-pattern>
<exclude-pattern>config/</exclude-pattern>
<rule ref="Generic.Commenting.DocComment">
<exclude name="Generic.Commenting.DocComment.NonParamGroup" />
<exclude name="Generic.Commenting.DocComment.MissingShort" />
</rule>
<rule ref="Squiz.Commenting.BlockComment">
<exclude name="Squiz.Commenting.BlockComment.NoEmptyLineAfter" />
</rule>
<rule ref="Squiz.Commenting.DocCommentAlignment"/>
<!-- <rule ref="Squiz.Commenting.EmptyCatchComment"/> -->
<!-- <rule ref="Squiz.Commenting.InlineComment"/> -->
<!-- <rule ref="Squiz.Commenting.LongConditionClosingComment"/> -->
<rule ref="Squiz.Commenting.FunctionComment">
<exclude name="Squiz.Commenting.FunctionComment.MissingParamComment" />
<exclude name="Squiz.Commenting.FunctionComment.ScalarTypeHintMissing" />
<exclude name="Squiz.Commenting.FunctionComment.ParamCommentNotCapital" />
<exclude name="Squiz.Commenting.FunctionComment.ParamCommentFullStop" />
<exclude name="Squiz.Commenting.FunctionComment.TypeHintMissing" />
<exclude name="Squiz.Commenting.FunctionComment.EmptyThrows" />
<exclude name="Squiz.Commenting.FunctionComment.SpacingAfterParamName" />
<exclude name="Squiz.Commenting.FunctionComment.SpacingAfterParamType" />
</rule>
<rule ref="Squiz.Commenting.PostStatementComment"/>
<rule ref="Squiz.Commenting.VariableComment">
<exclude name="Squiz.Commenting.VariableComment.Missing" />
</rule>
</ruleset>