Skip to content

Commit 166e663

Browse files
authored
Do not require space before : in return type hint declaration (#60)
The whole php ecosystem uses `fn(): void`, there's no legit reason for us to use something else (currently `fn() : void`)
1 parent 22e170a commit 166e663

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/Cdn77/ruleset.xml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,6 @@
8585
<rule ref="SlevomatCodingStandard.Functions.RequireArrowFunction" />
8686
<rule ref="SlevomatCodingStandard.Functions.RequireTrailingCommaInDeclaration" />
8787

88-
<rule ref="SlevomatCodingStandard.TypeHints.ReturnTypeHintSpacing">
89-
<properties>
90-
<property name="spacesCountBeforeColon" value="1"/>
91-
</properties>
92-
</rule>
93-
9488
<rule ref="SlevomatCodingStandard.TypeHints.UnionTypeHintFormat">
9589
<properties>
9690
<property name="withSpaces" value="no" />

0 commit comments

Comments
 (0)