Dhii/simple-test

View on GitHub
src/Test/Result.php

Summary

Maintainability
A
1 hr
Test Coverage

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

    public function __construct($caseName, $methodName, $key, $message, $status, $assertionCount, $suiteCode, $runnerCode, $time, $memory)
Severity: Major
Found in src/Test/Result.php - About 1 hr to fix

    The method __construct has 10 parameters. Consider reducing the number of parameters to less than 10.
    Open

        public function __construct($caseName, $methodName, $key, $message, $status, $assertionCount, $suiteCode, $runnerCode, $time, $memory)
        {
            $this->_setCaseName($caseName)
                    ->_setMethodName($methodName)
                    ->_setKey($key);
    Severity: Minor
    Found in src/Test/Result.php by phpmd

    There are no issues that match your filters.

    Category
    Status