Skip to content
This repository was archived by the owner on Oct 1, 2021. It is now read-only.

Commit 5e1ee09

Browse files
authored
refactor: update php-cs config for operator alignment and avoid trait blank lines (#10)
1 parent 8f18f14 commit 5e1ee09

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.php-cs-fixer.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@
99
'array_syntax' => ['syntax' => 'short'],
1010
'binary_operator_spaces' => [
1111
'default' => 'single_space',
12-
'operators' => ['=>' => null],
12+
'operators' => [
13+
'=' => 'align',
14+
'=>' => 'align',
15+
],
1316
],
1417
'blank_line_after_namespace' => true,
1518
'blank_line_after_opening_tag' => true,
@@ -71,6 +74,7 @@
7174
'extra',
7275
'throw',
7376
'use',
77+
'use_trait',
7478
],
7579
],
7680
'no_leading_import_slash' => true,

0 commit comments

Comments
 (0)