refinery29/piston

View on GitHub
src/Request.php

Summary

Maintainability
B
4 hrs
Test Coverage

Request has 30 functions (exceeds 20 allowed). Consider refactoring.
Open

class Request extends ServerRequest
{
    const PAGED_PAGINATION = 'paged';
    const OFFSET_LIMIT_PAGINATION = 'offset_limit';
    const CURSOR_PAGINATION = 'cursor';
Severity: Minor
Found in src/Request.php - About 3 hrs to fix

    Method __construct has 7 arguments (exceeds 4 allowed). Consider refactoring.
    Open

            CookieJar $jar = null,
            array $serverParams = [],
            array $uploadedFiles = [],
            $uri = null,
            $method = null,
    Severity: Major
    Found in src/Request.php - About 50 mins to fix

      There are no issues that match your filters.

      Category
      Status