RebelCode/modular

View on GitHub

Showing 2 of 95 total issues

Method _loadPhpConfigFile has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    protected function _loadPhpConfigFile($filePath)
    {
        if (!file_exists($filePath) || !is_readable($filePath)) {
            throw $this->_createRuntimeException(
                $this->__('Config file does not exist or not readable'),
Severity: Minor
Found in src/Module/AbstractBaseModule.php - About 1 hr to fix

    Method _initModule has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

            $key,
            $dependencies,
            ConfigFactoryInterface $configFactory,
            ContainerFactoryInterface $containerFactory,
            ContainerFactoryInterface $compContainerFactory
    Severity: Minor
    Found in src/Module/AbstractBaseModule.php - About 35 mins to fix
      Severity
      Category
      Status
      Source
      Language