Dhii/simple-test-abstract

View on GitHub

Showing 160 of 160 total issues

The method _createResultSet is not named in camelCase.
Open

    abstract protected function _createResultSet($items);
Severity: Minor
Found in src/Locator/AbstractLocator.php by phpmd

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 _setAssertionMaker is not named in camelCase.
Open

    protected function _setAssertionMaker(Assertion\MakerInterface $assertionMaker)
    {
        $this->assertionMaker = $assertionMaker;

        return $this;
Severity: Minor
Found in src/Runner/AbstractRunner.php by phpmd

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 _getStatAggregator is not named in camelCase.
Open

    protected function _getStatAggregator()
    {
        return $this->statAggregator;
    }
Severity: Minor
Found in src/Tester/AbstractStatefulTester.php by phpmd

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 _setStatAggregator is not named in camelCase.
Open

    protected function _setStatAggregator(Stats\AggregatorInterface $aggregator)
    {
        $this->statAggregator = $aggregator;

        return $this;
Severity: Minor
Found in src/Runner/AbstractRunner.php by phpmd

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 _getInnerIterator is not named in camelCase.
Open

    protected function _getInnerIterator()
    {
        return $this->innerIterator;
    }

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 _getWriterInstance is not named in camelCase.
Open

    protected function _getWriterInstance()
    {
        if (is_null($this->_getWriter())) {
            $this->_setWriter($this->_createWriter());
        }
Severity: Minor
Found in src/Tester/AbstractStatefulTester.php by phpmd

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 _createAssertionMaker is not named in camelCase.
Open

    abstract protected function _createAssertionMaker();
Severity: Minor
Found in src/Tester/AbstractStatefulTester.php by phpmd

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 _processAssertionResult is not named in camelCase.
Open

    protected function _processAssertionResult($result)
    {
        $status = $result === true
                ? self::SUCCESS
                : self::FAILURE;
Severity: Minor
Found in src/Assertion/AbstractMaker.php by phpmd

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 _getClassTests is not named in camelCase.
Open

    protected function _getClassTests(ReflectionClass $class)
    {
        $methods = array();
        foreach ($class->getMethods() as $_method) {
            /* @var $_method ReflectionMethod */
Severity: Minor
Found in src/Locator/AbstractClassLocator.php by phpmd

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 _arrayMerge is not named in camelCase.
Open

    public function _arrayMerge($array, $traversable)
    {
        foreach ($traversable as $_key => $_value) {
            $array[$_key] = $_value;
        }

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 _any is not named in camelCase.
Open

    protected function _any($target, $data = null, $source = null)
    {
    }

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 _getCoordinator is not named in camelCase.
Open

    protected function _getCoordinator()
    {
        return $this->coordinator;
    }
Severity: Minor
Found in src/Tester/AbstractStatefulTester.php by phpmd

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 _setCoordinator is not named in camelCase.
Open

    protected function _setCoordinator(Coordinator\CoordinatorInterface $coordinator)
    {
        $this->coordinator = $coordinator;

        return $this;
Severity: Minor
Found in src/Runner/AbstractRunner.php by phpmd

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 _runAll is not named in camelCase.
Open

    protected function _runAll()
    {
        $runner  = $this->_getRunnerInstance();
        $results = array();
        foreach ($this->_getSuites() as $_code => $_suite) {
Severity: Minor
Found in src/Tester/AbstractTester.php by phpmd

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 _validateTestList is not named in camelCase.
Open

    protected function _validateTestList($tests)
    {
        if (!is_array($tests) && !($tests instanceof \Traversable)) {
            throw new UnexpectedValueException(sprintf('Tests must be a valid traversable structure'));
        }
Severity: Minor
Found in src/Runner/AbstractRunner.php by phpmd

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 _setCoordinator is not named in camelCase.
Open

    protected function _setCoordinator(Coordinator\CoordinatorInterface $coordinator)
    {
        $this->coordinator = $coordinator;

        return $this;
Severity: Minor
Found in src/Suite/AbstractSuite.php by phpmd

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 _setAssertionCount is not named in camelCase.
Open

    protected function _setAssertionCount($assertionCount)
    {
        $this->assertionCount = intval($assertionCount);

        return $this;
Severity: Minor
Found in src/Test/AbstractResult.php by phpmd

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 _setRunner is not named in camelCase.
Open

    protected function _setRunner(Runner\RunnerInterface $runner)
    {
        $this->runner = $runner;

        return $this;
Severity: Minor
Found in src/Tester/AbstractStatefulTester.php by phpmd

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 _setStatAggregator is not named in camelCase.
Open

    protected function _setStatAggregator(Stats\AggregatorInterface $statAggregator)
    {
        $this->statAggregator = $statAggregator;

        return $this;
Severity: Minor
Found in src/Tester/AbstractStatefulTester.php by phpmd

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 _getStatAggregatorInstance is not named in camelCase.
Open

    protected function _getStatAggregatorInstance()
    {
        if (is_null($this->_getStatAggregator())) {
            $this->_setStatAggregator($this->_createStatAggregator());
        }
Severity: Minor
Found in src/Tester/AbstractStatefulTester.php by phpmd

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

Severity
Category
Status
Source
Language