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/PluginCommand/PluginGenerator.php 2 locations

@@ 492-498 (lines=7) @@
489
        }
490
        $this->output->writeln('');
491
        $this->output->writeln('[+]File system');
492
        if (!empty($dirFileOk)) {
493
            $this->output->writeln('');
494
            $this->output->writeln(' this files and folders were created.');
495
            foreach ($dirFileOk as $path) {
496
                $this->output->writeln('<info> - ' . $path . '</info>');
497
            }
498
        }
499
500
        if (!empty($dirFileNg)) {
501
            $this->output->writeln('');
@@ 500-506 (lines=7) @@
497
            }
498
        }
499
500
        if (!empty($dirFileNg)) {
501
            $this->output->writeln('');
502
            $this->output->writeln(' this files and folders was not created.');
503
            foreach ($dirFileOk as $path) {
504
                $this->output->writeln('<error> - ' . $path . '</error>');
505
            }
506
        }
507
    }
508
509
    private function createDbRecords($code, $paramList)