Skip to content

Commit 0950515

Browse files
author
Frank de Jonge
committed
Limit operator alignment to array arrows.
1 parent 8e618ec commit 0950515

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/PhpCsFixer/Rules.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,10 @@ private static function getBaseRules(): array
4848
],
4949
'array_indentation' => true,
5050
'binary_operator_spaces' => [
51-
'default' => 'align_single_space_minimal',
51+
'default' => 'single_space',
52+
'operators' => [
53+
'=>' => 'align_single_space_minimal',
54+
],
5255
],
5356
'blank_line_before_statement' => [
5457
'statements' => [

0 commit comments

Comments
 (0)