AsgardCms/Workshop

View on GitHub

Showing 2 of 6 total issues

Method addDataToComposerFile has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private function addDataToComposerFile()
    {
        $composerJson = $this->finder->get($this->getModulesPath('composer.json'));

        $name = ucfirst($this->name);
Severity: Minor
Found in Scaffold/Module/ModuleScaffold.php - About 1 hr to fix

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

            Filesystem $finder,
            Repository $config,
            EntityGenerator $entityGenerator,
            ValueObjectGenerator $valueObjectGenerator,
            FilesGenerator $filesGenerator
    Severity: Minor
    Found in Scaffold/Module/ModuleScaffold.php - About 35 mins to fix
      Severity
      Category
      Status
      Source
      Language