Skip to content

Commit e6dc8a0

Browse files
committed
merge phpdoc stuff
1 parent cd8ea43 commit e6dc8a0

File tree

1 file changed

+30
-2
lines changed

1 file changed

+30
-2
lines changed

codeat.xml

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,36 @@
1010
<exclude-pattern>index.php</exclude-pattern>
1111
<exclude-pattern>CMB2</exclude-pattern>
1212

13-
<!-- https://github.com/CodeAtCode/PHPDoc-for-PHPCS-PHPCBF/ -->
14-
<rule ref="PHPDoc"/>
13+
<!-- Include some specific sniffs -->
14+
<rule ref="Generic.CodeAnalysis.EmptyStatement"/>
15+
<rule ref="Generic.Commenting.Todo"/>
16+
<rule ref="Generic.Commenting.DocComment"/>
17+
<rule ref="Generic.Commenting.DocComment.TagValueIndent"/>
18+
<rule ref="Generic.Commenting.DocComment.ParamNotFirst"/>
19+
<rule ref="Generic.Commenting.DocComment.ParamGroup"/>
20+
<rule ref="Generic.Commenting.DocComment.NonParamGroup"/>
21+
<rule ref="Generic.Commenting.DocComment.TagsNotGrouped"/>
22+
<rule ref="Generic.Commenting.DocComment.ContentAfterOpen"/>
23+
<rule ref="Generic.Commenting.DocComment.SpacingBeforeShort"/>
24+
<rule ref="Generic.Commenting.DocComment.ContentBeforeClose"/>
25+
26+
<rule ref="Squiz.Commenting">
27+
<exclude name="Squiz.Commenting.FileComment.WrongStyle" />
28+
<exclude name="Squiz.Commenting.FileComment.SpacingAfterOpen" />
29+
<exclude name="Squiz.Commenting.PostStatementComment.Found" />
30+
<exclude name="Squiz.PHP.DisallowMultipleAssignments.Found" />
31+
<exclude name="Squiz.Commenting.LongConditionClosingComment.Missing" />
32+
<exclude name="Squiz.Commenting.LongConditionClosingComment.Invalid" />
33+
<exclude name="Squiz.Commenting.FunctionComment.Missing" />
34+
</rule>
35+
36+
<rule ref="PEAR.NamingConventions">
37+
<exclude name="PEAR.NamingConventions.ValidClassName.Invalid" />
38+
</rule>
39+
<rule ref="PEAR.NamingConventions.ValidFunctionName">
40+
<exclude name="PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps" />
41+
<exclude name="PEAR.NamingConventions.ValidFunctionName.NotCamelCaps" />
42+
</rule>
1543

1644
<!-- https://github.com/wimg/PHPCompatibility/ -->
1745
<rule ref="PHPCompatibility"/>

0 commit comments

Comments
 (0)