Skip to content

Commit 7419ef7

Browse files
committed
Enforces using shorthand scalar typehint variants in phpDocs: int instead of integer and bool instead of boolean
This is for consistency with native scalar typehints which also allow shorthand variants only.
1 parent 68e9bb8 commit 7419ef7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ruleset.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@
106106
<property name="spacesCountAroundEqualsSign" value="1"/>
107107
</properties>
108108
</rule>
109+
<rule ref="SlevomatCodingStandard.TypeHints.LongTypeHints"/>
109110
<rule ref="SlevomatCodingStandard.TypeHints.PropertyTypeHintSpacing"/>
110111
<rule ref="SlevomatCodingStandard.TypeHints.ReturnTypeHintSpacing">
111112
<properties>

0 commit comments

Comments
 (0)