RebelCode/modular

View on GitHub

Showing 95 of 95 total issues

The method _getEventManager is not named in camelCase.
Open

    protected function _getEventManager()
    {
        return $this->eventManager;
    }
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 _normalizeContainer is not named in camelCase.
Open

    abstract protected function _normalizeContainer($container);
Severity: Minor
Found in src/Config/ConfigAwareTrait.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 _createInternalException is not named in camelCase.
Open

    abstract protected function _createInternalException($message = null, $code = null, RootException $previous = 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 _getEventManager is not named in camelCase.
Open

    abstract protected function _getEventManager();
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 _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 _setup is not named in camelCase.
Open

    protected function _setup()
    {
        // The list of containers that will be added to the composite container
        $containers = $this->_createAddCapableList();
        // The composite container - the container for this modular 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 _getEventManager is not named in camelCase.
Open

    abstract protected function _getEventManager();
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 _detach is not named in camelCase.
Open

    protected function _detach($event, $callback)
    {
        $eventManager = $this->_getEventManager();

        if ($eventManager === null) {
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 _run is not named in camelCase.
Open

    protected function _run(ContainerInterface $c = null)
    {
        foreach ($this->modules as $_module) {
            $_module->run($c);
        }
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 _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 _createEvent is not named in camelCase.
Open

    abstract protected function _createEvent($name, $data);
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 _normalizeIterable is not named in camelCase.
Open

    abstract protected function _normalizeIterable($iterable);
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

The method _createRuntimeException is not named in camelCase.
Open

    abstract protected function _createRuntimeException($message = null, $code = null, $previous = null);

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/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 _createRuntimeException is not named in camelCase.
Open

    abstract protected function _createRuntimeException($message = null, $code = null, $previous = 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 _createInvalidArgumentException is not named in camelCase.
Open

    abstract protected function _createInvalidArgumentException(
        $message = null,
        $code = null,
        RootException $previous = null,
        $argument = null
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 _trigger is not named in camelCase.
Open

    protected function _trigger($event, $data = [])
    {
        $eventManager = $this->_getEventManager();

        if ($eventManager === 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 _createContainer is not named in camelCase.
Open

    abstract protected function _createContainer($definitions = [], ContainerInterface $parent = 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 _attach is not named in camelCase.
Open

    protected function _attach($event, $callback, $priority = 0)
    {
        $eventManager = $this->_getEventManager();

        if ($eventManager === 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 __ is not named in camelCase.
Open

    abstract protected function __($string, $args = [], $context = 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

Severity
Category
Status
Source
Language