|
10 | 10 | <exclude-pattern>index.php</exclude-pattern> |
11 | 11 | <exclude-pattern>CMB2</exclude-pattern> |
12 | 12 |
|
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> |
15 | 43 |
|
16 | 44 | <!-- https://github.com/wimg/PHPCompatibility/ --> |
17 | 45 | <rule ref="PHPCompatibility"/> |
|
0 commit comments