RebelCode/modular

View on GitHub
src/Finder/ModuleFileFinder.php

Summary

Maintainability
A
0 mins
Test Coverage

The method _createTraversableIterator is not named in camelCase.
Open

    protected function _createTraversableIterator(Traversable $traversable)
    {
        return new IteratorIterator($traversable);
    }
Severity: Minor
Found in src/Finder/ModuleFileFinder.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 _filter is not named in camelCase.
Open

    protected function _filter(SplFileInfo $fileInfo)
    {
        if (!$fileInfo->isReadable()) {
            throw $this->_createRuntimeException(
                $this->__('The module file is not readable'),
Severity: Minor
Found in src/Finder/ModuleFileFinder.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 _createArrayIterator is not named in camelCase.
Open

    protected function _createArrayIterator(array $array)
    {
        return new ArrayIterator($array);
    }
Severity: Minor
Found in src/Finder/ModuleFileFinder.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