src/Test/Result.php
Method __construct
has 10 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function __construct($caseName, $methodName, $key, $message, $status, $assertionCount, $suiteCode, $runnerCode, $time, $memory)
The method __construct has 10 parameters. Consider reducing the number of parameters to less than 10. Open
Open
public function __construct($caseName, $methodName, $key, $message, $status, $assertionCount, $suiteCode, $runnerCode, $time, $memory)
{
$this->_setCaseName($caseName)
->_setMethodName($methodName)
->_setKey($key);
- Exclude checks