Skip to content

Commit cabd211

Browse files
authored
Add new rules on Commenting and MultiLine (#63)
Add rules : - SlevomatCodingStandard.Classes.RequireMultiLineMethodSignature - SlevomatCodingStandard.Commenting.EmptyComment - SlevomatCodingStandard.Commenting.UselessInheritDocComment - SlevomatCodingStandard.Functions.RequireMultiLineCall
1 parent 0f32ad3 commit cabd211

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

phpcs/ruleset.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,11 @@
124124

125125
<config name="installed_paths" value="../../slevomat/coding-standard"/>
126126
<rule ref="SlevomatCodingStandard.Arrays.SingleLineArrayWhitespace"/>
127+
<rule ref="SlevomatCodingStandard.Classes.RequireMultiLineMethodSignature"/>
128+
<rule ref="SlevomatCodingStandard.Commenting.EmptyComment"/>
127129
<rule ref="SlevomatCodingStandard.Commenting.RequireOneLinePropertyDocComment.MultiLinePropertyComment"/>
128130
<rule ref="SlevomatCodingStandard.Commenting.UselessFunctionDocComment.UselessDocComment"/>
131+
<rule ref="SlevomatCodingStandard.Commenting.UselessInheritDocComment"/>
129132
<rule ref="SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing">
130133
<properties>
131134
<property name="controlStructures" type="array">
@@ -140,6 +143,7 @@
140143
</properties>
141144
</rule>
142145
<rule ref="SlevomatCodingStandard.ControlStructures.JumpStatementsSpacing"/>
146+
<rule ref="SlevomatCodingStandard.Functions.RequireMultiLineCall"/>
143147
<rule ref="SlevomatCodingStandard.Functions.RequireTrailingCommaInCall" />
144148
<rule ref="SlevomatCodingStandard.Functions.RequireTrailingCommaInDeclaration"/>
145149
<rule ref="SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses"/>

0 commit comments

Comments
 (0)