Skip to content

Commit ffc1656

Browse files
committed
Realodix: unary_operator_spaces - set only_dec_inc option
1 parent 4c56847 commit ffc1656

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/RuleSet/Sets/Realodix.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ public function mainRules(): array
6161
* Laravel rules modification
6262
*/
6363
'ternary_operator_spaces' => false,
64-
'unary_operator_spaces' => false,
6564
'binary_operator_spaces' => [
6665
'default' => 'single_space',
6766
'operators' => ['=>' => 'at_least_single_space'],
@@ -76,6 +75,7 @@ public function mainRules(): array
7675
],
7776
],
7877
'space_after_semicolon' => ['remove_in_empty_for_expressions' => true],
78+
'unary_operator_spaces' => ['only_dec_inc' => true],
7979
'whitespace_after_comma_in_array' => ['ensure_single_space' => true],
8080
'phpdoc_align' => ['tags' => ['method', 'param', 'property', 'throws', 'type', 'var']],
8181
'phpdoc_separation' => [

0 commit comments

Comments
 (0)