Skip to content

Commit f063efc

Browse files
committed
Add group_to_single_imports option to single_import_per_statement
1 parent 1bfe531 commit f063efc

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

‎.php-cs-fixer.dist.php‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@
9393
['var', 'phpstan-var', 'psalm-var'],
9494
],
9595
],
96+
'single_import_per_statement' => ['group_to_single_imports' => true],
9697
'single_line_comment_spacing' => true,
9798
'statement_indentation' => true,
9899
// >>>>>>>>>>>>>>>>>>>>>>>>>

‎.php-cs-fixer.no-header.php‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@
8585
['var', 'phpstan-var', 'psalm-var'],
8686
],
8787
],
88+
'single_import_per_statement' => ['group_to_single_imports' => true],
8889
'single_line_comment_spacing' => true,
8990
'statement_indentation' => true,
9091
// >>>>>>>>>>>>>>>>>>>>>>>>>

‎.php-cs-fixer.user-guide.php‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@
8787
['var', 'phpstan-var', 'psalm-var'],
8888
],
8989
],
90+
'single_import_per_statement' => ['group_to_single_imports' => true],
9091
'single_line_comment_spacing' => true,
9192
'statement_indentation' => true,
9293
// >>>>>>>>>>>>>>>>>>>>>>>>>

0 commit comments

Comments
 (0)