src/Locator/FilePathLocator.php
The method _createClassLocator is not named in camelCase. Open
Open
protected function _createClassLocator($className)
{
$locator = new ClassLocator();
$locator->setClass($className);
- 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 _matchFile is not named in camelCase. Open
Open
protected function _matchFile($file)
{
$file = $this->_basename($file);
return $this->_endsWith($file, 'Test');
- 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($items)
{
return new ResultSet($items);
}
- 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() {
}
}