This repository was archived by the owner on Mar 1, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ protected function getContribRules()
7878 'no_multiline_whitespace_before_semicolons ' => false ,
7979 'no_php4_constructor ' => false ,
8080 'no_short_echo_tag ' => true ,
81- 'no_useless_else ' => true ,
81+ 'no_useless_else ' => false ,
8282 'no_useless_return ' => true ,
8383 'not_operator_with_space ' => false ,
8484 'not_operator_with_successor_space ' => true ,
Original file line number Diff line number Diff line change @@ -115,6 +115,7 @@ public function providerDoesNotHaveFixerEnabled()
115115 'header_comment ' => 'it is not enabled by default ' ,
116116 'long_array_syntax ' => 'it conflicts with short_array_syntax (which is enabled) ' ,
117117 'modernize_types_casting ' => 'it is a risky fixer ' ,
118+ 'no_useless_else ' => 'buggy ' ,
118119 'no_multiline_whitespace_before_semicolons ' => 'we have not decided to use this one (yet) ' ,
119120 'no_php4_constructor ' => 'it changes behaviour ' ,
120121 'not_operator_with_space ' => 'we do not need leading and trailing whitespace before ! ' ,
@@ -245,7 +246,7 @@ protected function getContribRules()
245246 'no_multiline_whitespace_before_semicolons ' => false ,
246247 'no_php4_constructor ' => false ,
247248 'no_short_echo_tag ' => true ,
248- 'no_useless_else ' => true ,
249+ 'no_useless_else ' => false ,
249250 'no_useless_return ' => true ,
250251 'not_operator_with_space ' => false ,
251252 'not_operator_with_successor_space ' => true ,
You can’t perform that action at this time.
0 commit comments