DjThossi/smoke-testing-php

View on GitHub

Showing 3 of 5 total issues

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

        UrlCollection $urls,
        RequestTimeout $requestTimeout,
        FollowRedirect $followRedirect,
        Concurrency $concurrency,
        BodyLength $bodyLength,
Severity: Minor
Found in src/Options/SmokeTestOptions.php - About 45 mins to fix

    Method fromPrimitives has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

            $url,
            array $headerData,
            $body,
            $ttfbInMilliseconds,
            $statusCode
    Severity: Minor
    Found in src/Result/ValidResult.php - About 35 mins to fix

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

              Url $url,
              HeaderCollection $headers,
              Body $body,
              TimeToFirstByte $timeToFirstByte,
              StatusCode $statusCode
      Severity: Minor
      Found in src/Result/ValidResult.php - About 35 mins to fix
        Severity
        Category
        Status
        Source
        Language