File tree Expand file tree Collapse file tree 2 files changed +48
-0
lines changed Expand file tree Collapse file tree 2 files changed +48
-0
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,30 @@ public function rules(): array
44
44
'fopen_flags ' => false ,
45
45
'return_assignment ' => false ,
46
46
'final_internal_class ' => false ,
47
+ 'blank_line_before_statement ' => [
48
+ 'statements ' => [
49
+ 'break ' ,
50
+ 'case ' ,
51
+ 'continue ' ,
52
+ 'declare ' ,
53
+ 'default ' ,
54
+ 'do ' ,
55
+ 'exit ' ,
56
+ 'for ' ,
57
+ 'foreach ' ,
58
+ 'goto ' ,
59
+ 'if ' ,
60
+ 'include ' ,
61
+ 'include_once ' ,
62
+ 'require ' ,
63
+ 'require_once ' ,
64
+ 'return ' ,
65
+ 'switch ' ,
66
+ 'throw ' ,
67
+ 'try ' ,
68
+ 'while ' ,
69
+ ],
70
+ ],
47
71
\PhpCsFixerCustomFixers \Fixer \CommentSurroundedBySpacesFixer::name () => true ,
48
72
\PhpCsFixerCustomFixers \Fixer \DataProviderReturnTypeFixer::name () => true ,
49
73
\PhpCsFixerCustomFixers \Fixer \InternalClassCasingFixer::name () => true ,
Original file line number Diff line number Diff line change @@ -44,6 +44,30 @@ public function rules(): array
44
44
'fopen_flags ' => false ,
45
45
'return_assignment ' => false ,
46
46
'final_internal_class ' => false ,
47
+ 'blank_line_before_statement ' => [
48
+ 'statements ' => [
49
+ 'break ' ,
50
+ 'case ' ,
51
+ 'continue ' ,
52
+ 'declare ' ,
53
+ 'default ' ,
54
+ 'do ' ,
55
+ 'exit ' ,
56
+ 'for ' ,
57
+ 'foreach ' ,
58
+ 'goto ' ,
59
+ 'if ' ,
60
+ 'include ' ,
61
+ 'include_once ' ,
62
+ 'require ' ,
63
+ 'require_once ' ,
64
+ 'return ' ,
65
+ 'switch ' ,
66
+ 'throw ' ,
67
+ 'try ' ,
68
+ 'while ' ,
69
+ ],
70
+ ],
47
71
\PhpCsFixerCustomFixers \Fixer \CommentSurroundedBySpacesFixer::name () => true ,
48
72
\PhpCsFixerCustomFixers \Fixer \DataProviderReturnTypeFixer::name () => true ,
49
73
\PhpCsFixerCustomFixers \Fixer \InternalClassCasingFixer::name () => true ,
You can’t perform that action at this time.
0 commit comments