Skip to content

Commit 04860c9

Browse files
authored
Merge pull request #396 from cakephp/5.x-attributes
add attribute rules
2 parents f316cf4 + 8887707 commit 04860c9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CakePHP/ruleset.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,8 @@
217217
</properties>
218218
</rule>
219219
<rule ref="SlevomatCodingStandard.Functions.ArrowFunctionDeclaration" />
220+
<rule ref="SlevomatCodingStandard.Attributes.AttributeAndTargetSpacing"/>
221+
<rule ref="SlevomatCodingStandard.Attributes.RequireAttributeAfterDocComment"/>
220222

221223
<!-- phpcs Zend sniffs -->
222224
<rule ref="Zend.NamingConventions.ValidVariableName">

0 commit comments

Comments
 (0)