src/Request/Request.php
Request
has 22 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Request
{
/**
* @var string $requestUri Request URI from $_SERVER.
* @var string $scriptName Scriptname from $_SERVER, actual scriptname part.
Method extractRoute
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function extractRoute()
{
$requestUri = $this->requestUri;
$scriptPath = $this->path;
$scriptFile = $this->scriptName;