File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 42
42
'no_extra_blank_lines ' => true ,
43
43
'no_mixed_echo_print ' => true ,
44
44
'no_singleline_whitespace_before_semicolons ' => true ,
45
+ 'no_superfluous_elseif ' => true ,
45
46
'no_trailing_whitespace ' => true ,
46
47
'ordered_class_elements ' => true ,
47
48
'random_api_migration ' => true ,
Original file line number Diff line number Diff line change @@ -212,9 +212,9 @@ function sect_to_file($string) {
212
212
$ feat = "features. $ string.php " ;
213
213
$ struct = "control-structures. $ string.php " ;
214
214
if (@is_file ($ func )) return $ func ;
215
- elseif (@is_file ($ chap )) return $ chap ;
216
- elseif (@is_file ($ feat )) return $ feat ;
217
- elseif (@is_file ($ struct )) return $ struct ;
215
+ if (@is_file ($ chap )) return $ chap ;
216
+ if (@is_file ($ feat )) return $ feat ;
217
+ if (@is_file ($ struct )) return $ struct ;
218
218
else return "$ string.php " ;
219
219
}
220
220
You can’t perform that action at this time.
0 commit comments