Skip to content

Commit d5934ca

Browse files
authored
Merge pull request #384 from simPod/slevomat-returntypehintspacing-defaults
Slevomat ReturnTypeHintSpacing: remove default spacesCountBeforeColon configuration
2 parents d9c3346 + 7bd1b1f commit d5934ca

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

lib/Doctrine/ruleset.xml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -460,11 +460,7 @@
460460
<!-- Require one space between typehint and variable, require no space between nullability sign and typehint -->
461461
<rule ref="SlevomatCodingStandard.TypeHints.ParameterTypeHintSpacing"/>
462462
<!-- Require space around colon in return types -->
463-
<rule ref="SlevomatCodingStandard.TypeHints.ReturnTypeHintSpacing">
464-
<properties>
465-
<property name="spacesCountBeforeColon" value="0"/>
466-
</properties>
467-
</rule>
463+
<rule ref="SlevomatCodingStandard.TypeHints.ReturnTypeHintSpacing"/>
468464
<!-- Require types to be written as natively if possible;
469465
require iterable types to specify phpDoc with their content;
470466
forbid useless/duplicated information in phpDoc -->

0 commit comments

Comments
 (0)