Skip to content

Commit 76019f2

Browse files
committed
fix: remove return/throw from blank_line_before_statement
These add noise in short methods where the blank line is unnecessary.
1 parent d757a33 commit 76019f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.php-cs-fixer-rules.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
'array_indentation' => true,
2222
'assign_null_coalescing_to_coalesce_equal' => true,
2323
'binary_operator_spaces' => ['default' => 'single_space'],
24-
'blank_line_before_statement' => ['statements' => ['continue', 'declare', 'return', 'throw', 'try']],
24+
'blank_line_before_statement' => ['statements' => ['continue', 'declare', 'try']],
2525
'cast_spaces' => ['space' => 'single'],
2626
'class_attributes_separation' => ['elements' => ['method' => 'one']],
2727
'declare_strict_types' => true,

0 commit comments

Comments
 (0)