src/Runner/Runner.php
Method _createResultFromTest
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
protected function _createResultFromTest(Test\TestBaseInterface $test, $message, $status, $assertionCount, $runnerCode, $time, $memory)
The method _createResultFromTest is not named in camelCase. Open
Open
protected function _createResultFromTest(Test\TestBaseInterface $test, $message, $status, $assertionCount, $runnerCode, $time, $memory)
{
return new Test\Result(
$test->getCaseName(),
$test->getMethodName(),
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method _createResultSet is not named in camelCase. Open
Open
protected function _createResultSet($results)
{
return new Test\ResultSet($results, $this->_getStatAggregator());
}
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}