Code Duplication    Length = 7-7 lines in 4 locations

src/Eccube/Command/PluginCommand/EntityFromDbGenerator.php 1 location

@@ 122-128 (lines=7) @@
119
        }
120
        $this->output->writeln('');
121
        $this->output->writeln('[+]file system');
122
        if (!empty($dirFileOk)) {
123
            $this->output->writeln('');
124
            $this->output->writeln(' this files and folders were created.');
125
            foreach ($dirFileOk as $path) {
126
                $this->output->writeln('<info> - ' . $path . '</info>');
127
            }
128
        }
129
    }
130
131
    private function makeEntity($pluginCode, $TableInfo)

src/Eccube/Command/PluginCommand/EntityFromYamlGenerator.php 1 location

@@ 149-155 (lines=7) @@
146
        }
147
        $this->output->writeln('');
148
        $this->output->writeln('[+]file system');
149
        if (!empty($dirFileOk)) {
150
            $this->output->writeln('');
151
            $this->output->writeln(' this files and folders were created.');
152
            foreach ($dirFileOk as $path) {
153
                $this->output->writeln('<info> - ' . $path . '</info>');
154
            }
155
        }
156
    }
157
158
    protected function initFildset()

src/Eccube/Command/GeneratorCommand/AbstractPluginGenerator.php 2 locations

@@ 505-511 (lines=7) @@
502
            }
503
        }
504
505
        if (!empty($dirFileNg)) {
506
            $this->output->writeln('');
507
            $this->output->writeln(' this files and folders was not created.');
508
            foreach ($dirFileOk as $path) {
509
                $this->output->writeln('<error> - '.$path.'</error>');
510
            }
511
        }
512
513
    }
514
}
@@ 497-503 (lines=7) @@
494
        }
495
        $this->output->writeln('');
496
        $this->output->writeln('[+]File system');
497
        if (!empty($dirFileOk)) {
498
            $this->output->writeln('');
499
            $this->output->writeln(' this files and folders were created.');
500
            foreach ($dirFileOk as $path) {
501
                $this->output->writeln('<info> - '.$path.'</info>');
502
            }
503
        }
504
505
        if (!empty($dirFileNg)) {
506
            $this->output->writeln('');