src/Finder/ModuleFileFinder.php
The method _createTraversableIterator is not named in camelCase. Open
Open
protected function _createTraversableIterator(Traversable $traversable)
{
return new IteratorIterator($traversable);
}
- 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 _filter is not named in camelCase. Open
Open
protected function _filter(SplFileInfo $fileInfo)
{
if (!$fileInfo->isReadable()) {
throw $this->_createRuntimeException(
$this->__('The module file is not readable'),
- 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 _createArrayIterator is not named in camelCase. Open
Open
protected function _createArrayIterator(array $array)
{
return new ArrayIterator($array);
}
- 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() {
}
}