This repository was archived by the owner on Mar 1, 2023. It is now read-only.
File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ protected function getContribRules()
78
78
'no_multiline_whitespace_before_semicolons ' => false ,
79
79
'no_php4_constructor ' => false ,
80
80
'no_short_echo_tag ' => true ,
81
- 'no_useless_else ' => true ,
81
+ 'no_useless_else ' => false ,
82
82
'no_useless_return ' => true ,
83
83
'not_operator_with_space ' => false ,
84
84
'not_operator_with_successor_space ' => true ,
Original file line number Diff line number Diff line change @@ -115,6 +115,7 @@ public function providerDoesNotHaveFixerEnabled()
115
115
'header_comment ' => 'it is not enabled by default ' ,
116
116
'long_array_syntax ' => 'it conflicts with short_array_syntax (which is enabled) ' ,
117
117
'modernize_types_casting ' => 'it is a risky fixer ' ,
118
+ 'no_useless_else ' => 'buggy ' ,
118
119
'no_multiline_whitespace_before_semicolons ' => 'we have not decided to use this one (yet) ' ,
119
120
'no_php4_constructor ' => 'it changes behaviour ' ,
120
121
'not_operator_with_space ' => 'we do not need leading and trailing whitespace before ! ' ,
@@ -245,7 +246,7 @@ protected function getContribRules()
245
246
'no_multiline_whitespace_before_semicolons ' => false ,
246
247
'no_php4_constructor ' => false ,
247
248
'no_short_echo_tag ' => true ,
248
- 'no_useless_else ' => true ,
249
+ 'no_useless_else ' => false ,
249
250
'no_useless_return ' => true ,
250
251
'not_operator_with_space ' => false ,
251
252
'not_operator_with_successor_space ' => true ,
You can’t perform that action at this time.
0 commit comments