Rule to enforce that certain controller methods must "used" #66
ci.yml
on: pull_request
Coding Standard & Static Analysis
32s
Matrix: testsuite-linux
Annotations
11 errors
|
testsuite-linux (8.1, lowest)
Process completed with exit code 2.
|
|
Coding Standard & Static Analysis:
tests/test_app/Controller/FailingControllerMethodReturnLogic.php#L74
Method redirect() must be returned to prevent unreachable code. Use "return $this->redirect()" instead.
|
|
Coding Standard & Static Analysis:
tests/test_app/Controller/FailingControllerMethodReturnLogic.php#L74
Method App\Controller\FailingControllerMethodReturnLogic::actionWithConditionalRedirectNoReturn() should return Cake\Http\Response|null but return statement is missing.
|
|
Coding Standard & Static Analysis:
tests/test_app/Controller/FailingControllerMethodReturnLogic.php#L73
Method App\Controller\FailingControllerMethodReturnLogic::actionWithConditionalRedirectNoReturn() should return Cake\Http\Response|null but return statement is missing.
|
|
Coding Standard & Static Analysis:
tests/test_app/Controller/FailingControllerMethodReturnLogic.php#L62
Method render() must be returned to prevent unreachable code. Use "return $this->render()" instead.
|
|
Coding Standard & Static Analysis:
tests/test_app/Controller/FailingControllerMethodReturnLogic.php#L62
Method App\Controller\FailingControllerMethodReturnLogic::actionWithConditionalRenderNoReturn() should return Cake\Http\Response|null but return statement is missing.
|
|
Coding Standard & Static Analysis:
tests/test_app/Controller/FailingControllerMethodReturnLogic.php#L61
Method App\Controller\FailingControllerMethodReturnLogic::actionWithConditionalRenderNoReturn() should return Cake\Http\Response|null but return statement is missing.
|
|
Coding Standard & Static Analysis:
tests/test_app/Controller/FailingControllerMethodReturnLogic.php#L31
Method App\Controller\FailingControllerMethodReturnLogic::actionWithoutReturnRedirect() should return Cake\Http\Response|null but return statement is missing.
|
|
Coding Standard & Static Analysis:
tests/test_app/Controller/FailingControllerMethodReturnLogic.php#L29
Method redirect() must be returned to prevent unreachable code. Use "return $this->redirect()" instead.
|
|
Coding Standard & Static Analysis:
tests/test_app/Controller/FailingControllerMethodReturnLogic.php#L19
Method App\Controller\FailingControllerMethodReturnLogic::actionWithoutReturnRender() should return Cake\Http\Response|null but return statement is missing.
|
|
Coding Standard & Static Analysis:
tests/test_app/Controller/FailingControllerMethodReturnLogic.php#L17
Method render() must be returned to prevent unreachable code. Use "return $this->render()" instead.
|