nopolabs/mock-with-expectations

View on GitHub

Showing 3 of 3 total issues

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

        string $method,
        array $params = [],
        $result = null,
        $throws = null,
        PHPUnit_Framework_MockObject_Matcher_Invocation $invocation = null)
Severity: Minor
Found in src/Expectation.php - About 35 mins to fix

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

            string $method,
            array $params,
            $result,
            $throws,
            PHPUnit_Framework_MockObject_Matcher_Invocation $invocation) : Expectation
    Severity: Minor
    Found in src/ExpectationsFactory.php - About 35 mins to fix

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

              string $method,
              array $params,
              $result,
              $throws,
              $invoked) : Expectation
      Severity: Minor
      Found in src/ExpectationsFactory.php - About 35 mins to fix
        Severity
        Category
        Status
        Source
        Language