Closed liayn closed 8 years ago
I have not clue why codeclimate doesn't like my safe access to the GET variable. And the complaint about the else parts is also very funny.
The CS fixer results are wrong too. The functions require a null
return value, hence a simple return;
is semantically wrong. PHPStorm's inspections color that yellow immediately.
How can we get codeclimate and cs-fixer correct?
I "fixed" it by disabling the empty_return
fixer and ignoring the codeclimate issues.
Thanks
Fixes: #56