Dhii/simple-test

View on GitHub
src/Locator/FilePathLocator.php

Summary

Maintainability
A
0 mins
Test Coverage

The method _createResultSet is not named in camelCase.
Open

    protected function _createResultSet($items)
    {
        return new ResultSet($items);
    }
Severity: Minor
Found in src/Locator/FilePathLocator.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 _matchFile is not named in camelCase.
Open

    protected function _matchFile($file)
    {
        $file = $this->_basename($file);

        return $this->_endsWith($file, 'Test');
Severity: Minor
Found in src/Locator/FilePathLocator.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 _createClassLocator is not named in camelCase.
Open

    protected function _createClassLocator($className)
    {
        $locator = new ClassLocator();
        $locator->setClass($className);

Severity: Minor
Found in src/Locator/FilePathLocator.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

There are no issues that match your filters.

Category
Status