koinephp/Mvc

View on GitHub

Showing 2 of 2 total issues

Method setUpController has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function setUpController($controllerClass)
    {
        $session     = array();
        $cookies     = array();
        $environment = array();
Severity: Minor
Found in lib/Koine/Test/Mvc/ControllerTestCase.php - About 1 hr to fix

    Method makeRequest has 6 arguments (exceeds 4 allowed). Consider refactoring.
    Open

            $method,
            $action,
            array $params = array(),
            array $session = array(),
            array $environment = array(),
    Severity: Minor
    Found in lib/Koine/Test/Mvc/ControllerTestCase.php - About 45 mins to fix
      Severity
      Category
      Status
      Source
      Language