Showing 14 of 14 total issues
The variable $_this is not named in camelCase. Open
protected function _getUnservedModuleDependencies(ModuleInterface $module)
{
$_this = $this;
$dependencies = $this->_getModuleDependencies($module);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_this is not named in camelCase. Open
protected function _getUnservedModuleDependencies(ModuleInterface $module)
{
$_this = $this;
$dependencies = $this->_getModuleDependencies($module);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The method _getDeepMostUnservedModuleDependency is not named in camelCase. Open
protected function _getDeepMostUnservedModuleDependency(ModuleInterface $module, $ignore = array())
{
$moduleKey = $module->getKey();
$ignore[$moduleKey] = $module;
$dependencies = $this->_getUnservedModuleDependencies($module);
- 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 _setModules is not named in camelCase. Open
protected function _setModules($modules)
{
$this->moduleIterator = $this->_normalizeIterator($modules);
}
- 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 _isModuleServed is not named in camelCase. Open
protected function _isModuleServed($key)
{
return isset($this->servedModules[$key]);
}
- 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 _rewind is not named in camelCase. Open
protected function _rewind()
{
$this->servedModules = array();
$this->current = null;
$this->moduleIterator->rewind();
- 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 _key is not named in camelCase. Open
protected function _key()
{
return ($this->current !== null)
? $this->current->getKey()
: null;
- 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 _next is not named in camelCase. Open
protected function _next()
{
$previous = $this->current;
// Mark the previous module as served
- 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 _valid is not named in camelCase. Open
protected function _valid()
{
return $this->current !== null;
}
- 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 _getModuleDependencies is not named in camelCase. Open
abstract protected function _getModuleDependencies(ModuleInterface $module);
- 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 _markModuleAsServed is not named in camelCase. Open
protected function _markModuleAsServed(ModuleInterface $module)
{
$this->servedModules[$module->getKey()] = $module;
return $this;
- 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 _getUnservedModuleDependencies is not named in camelCase. Open
protected function _getUnservedModuleDependencies(ModuleInterface $module)
{
$_this = $this;
$dependencies = $this->_getModuleDependencies($module);
- 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 _current is not named in camelCase. Open
protected function _current()
{
return $this->current;
}
- 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 _normalizeIterator is not named in camelCase. Open
abstract protected function _normalizeIterator($iterable);
- 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() {
}
}