Skip to content

Commit ab5f8a9

Browse files
committed
Add group_to_single_imports option to single_import_per_statement
See codeigniter4/CodeIgniter4#6519
1 parent 0499fff commit ab5f8a9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/CodeIgniter4.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -501,8 +501,7 @@ public function __construct()
501501
'single_blank_line_at_eof' => true,
502502
'single_blank_line_before_namespace' => true,
503503
'single_class_element_per_statement' => ['elements' => ['const', 'property']],
504-
'single_import_per_statement' => true,
505-
'single_line_after_imports' => true,
504+
'single_import_per_statement' => ['group_to_single_imports' => true], 'single_line_after_imports' => true,
506505
'single_line_comment_spacing' => true,
507506
'single_line_comment_style' => ['comment_types' => ['asterisk', 'hash']],
508507
'single_line_throw' => false,

0 commit comments

Comments
 (0)