Skip to content

Commit e874fe6

Browse files
authored
Merge pull request #6478 from paulbalandan/blank-line-between-import-groups
2 parents dbd1bac + e0515a8 commit e874fe6

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

.php-cs-fixer.dist.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@
3939
]);
4040

4141
$overrides = [
42-
'phpdoc_separation' => [
42+
// <<<<<<<<<<<<<<<<<<<<<<<< @TODO TO BE REMOVED ONCE LIVE IN CODING-STANDARD
43+
'blank_line_between_import_groups' => true,
44+
'phpdoc_separation' => [
4345
'groups' => [
4446
['immutable', 'psalm-immutable'],
4547
['param', 'phpstan-param', 'psalm-param'],
@@ -52,6 +54,7 @@
5254
['var', 'phpstan-var', 'psalm-var'],
5355
],
5456
],
57+
// >>>>>>>>>>>>>>>>>>>>>>>>>
5558
];
5659

5760
$options = [

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@
3131
]);
3232

3333
$overrides = [
34-
'phpdoc_separation' => [
34+
// <<<<<<<<<<<<<<<<<<<<<<<< @TODO TO BE REMOVED ONCE LIVE IN CODING-STANDARD
35+
'blank_line_between_import_groups' => true,
36+
'phpdoc_separation' => [
3537
'groups' => [
3638
['immutable', 'psalm-immutable'],
3739
['param', 'phpstan-param', 'psalm-param'],
@@ -44,6 +46,7 @@
4446
['var', 'phpstan-var', 'psalm-var'],
4547
],
4648
],
49+
// >>>>>>>>>>>>>>>>>>>>>>>>>
4750
];
4851

4952
$options = [

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@
3333
'php_unit_internal_class' => false,
3434
'no_unused_imports' => false,
3535
'class_attributes_separation' => false,
36-
'phpdoc_separation' => [
36+
// <<<<<<<<<<<<<<<<<<<<<<<< @TODO TO BE REMOVED ONCE LIVE IN CODING-STANDARD
37+
'blank_line_between_import_groups' => true,
38+
'phpdoc_separation' => [
3739
'groups' => [
3840
['immutable', 'psalm-immutable'],
3941
['param', 'phpstan-param', 'psalm-param'],
@@ -46,6 +48,7 @@
4648
['var', 'phpstan-var', 'psalm-var'],
4749
],
4850
],
51+
// >>>>>>>>>>>>>>>>>>>>>>>>>
4952
];
5053

5154
$options = [

0 commit comments

Comments
 (0)