RebelCode/modular

View on GitHub

Showing 95 of 95 total issues

The method _createCompositeContainer is not named in camelCase.
Open

    abstract protected function _createCompositeContainer($containers);
Severity: Minor
Found in src/Module/ModularModuleTrait.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 _setEventManager is not named in camelCase.
Open

    protected function _setEventManager($eventManager)
    {
        if ($eventManager !== null && !($eventManager instanceof EventManagerInterface)) {
            throw $this->_createInvalidArgumentException(
                $this->__('Argument is not an event manager'),
Severity: Minor
Found in src/Events/EventManagerAwareTrait.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 __ is not named in camelCase.
Open

    abstract protected function __($string, $args = [], $context = null);
Severity: Minor
Found in src/Events/TriggerCapableTrait.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 _initModuleEvents is not named in camelCase.
Open

    protected function _initModuleEvents($eventManager, $eventFactory)
    {
        $this->_setEventManager($eventManager);
        $this->_setEventFactory($eventFactory);
    }
Severity: Minor
Found in src/Module/AbstractBaseModule.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 _setConfigFactory is not named in camelCase.
Open

    protected function _setConfigFactory($configFactory)
    {
        if ($configFactory !== null && !($configFactory instanceof ConfigFactoryInterface)) {
            throw $this->_createInvalidArgumentException(
                $this->__('Argument is not a container factory'),
Severity: Minor
Found in src/Module/AbstractBaseModule.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 _getModules is not named in camelCase.
Open

    abstract protected function _getModules(ContainerInterface $container = null);
Severity: Minor
Found in src/Module/ModularModuleTrait.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 _createRuntimeException is not named in camelCase.
Open

    abstract protected function _createRuntimeException($message = null, $code = null, $previous = null);
Severity: Minor
Found in src/Events/AttachCapableTrait.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 _setEventFactory is not named in camelCase.
Open

    protected function _setEventFactory($eventFactory)
    {
        if ($eventFactory !== null && !($eventFactory instanceof EventFactoryInterface)) {
            throw $this->_createInvalidArgumentException(
                $this->__('Argument is not an event factory instance'),
Severity: Minor
Found in src/Events/EventFactoryAwareTrait.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 _setCompositeContainerFactory is not named in camelCase.
Open

    protected function _setCompositeContainerFactory(ContainerFactoryInterface $compContainerFactory)
    {
        $this->compContainerFactory = $compContainerFactory;
    }
Severity: Minor
Found in src/Module/AbstractBaseModule.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 _createCompositeContainer is not named in camelCase.
Open

    protected function _createCompositeContainer($containers)
    {
        return $this->_getCompositeContainerFactory()->make(['containers' => $containers]);
    }
Severity: Minor
Found in src/Module/AbstractBaseModule.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 _createAddCapableList is not named in camelCase.
Open

    abstract protected function _createAddCapableList();
Severity: Minor
Found in src/Module/ModularModuleTrait.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 _getEventManager is not named in camelCase.
Open

    abstract protected function _getEventManager();
Severity: Minor
Found in src/Events/DetachCapableTrait.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 _getModuleServiceKey is not named in camelCase.
Open

    abstract protected function _getModuleServiceKey(ModuleInterface $module);
Severity: Minor
Found in src/Module/ModularModuleTrait.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 _getConfigFactory is not named in camelCase.
Open

    protected function _getConfigFactory()
    {
        return $this->configFactory;
    }
Severity: Minor
Found in src/Module/AbstractBaseModule.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 _getDependencies is not named in camelCase.
Open

    protected function _getDependencies()
    {
        return $this->dependencies;
    }
Severity: Minor
Found in src/Module/DependenciesAwareTrait.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

Severity
Category
Status
Source
Language