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

Commit

Permalink
refactor: update php-cs config for operator alignment and avoid trait…
Browse files Browse the repository at this point in the history
… blank lines (#10)
  • Loading branch information
leMaur authored Sep 23, 2021
1 parent 8f18f14 commit 5e1ee09
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .php-cs-fixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@
'array_syntax' => ['syntax' => 'short'],
'binary_operator_spaces' => [
'default' => 'single_space',
'operators' => ['=>' => null],
'operators' => [
'=' => 'align',
'=>' => 'align',
],
],
'blank_line_after_namespace' => true,
'blank_line_after_opening_tag' => true,
Expand Down Expand Up @@ -71,6 +74,7 @@
'extra',
'throw',
'use',
'use_trait',
],
],
'no_leading_import_slash' => true,
Expand Down

0 comments on commit 5e1ee09

Please sign in to comment.