Code Duplication    Length = 8-9 lines in 5 locations

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

@@ 41-49 (lines=9) @@
38
     */
39
    private $tableList = null;
40
41
    protected function getHeader()
42
    {
43
        $this->output->writeln('------------------------------------------------------');
44
        $this->output->writeln('---Plugin Generator for Entity');
45
        $this->output->writeln('---[*] You need to create table schema first.');
46
        $this->output->writeln('---[*]You can exit from Console Application, by typing ' . self::STOP_PROCESS . ' instead of typing another word.');
47
        $this->output->writeln('------------------------------------------------------');
48
        $this->output->writeln('');
49
    }
50
51
    protected function start()
52
    {

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

@@ 45-53 (lines=9) @@
42
     */
43
    private $entityList = null;
44
45
    protected function getHeader()
46
    {
47
        $this->output->writeln('------------------------------------------------------');
48
        $this->output->writeln('---Plugin Generator for Entity');
49
        $this->output->writeln('---[*] You need to create yaml file first.');
50
        $this->output->writeln('---[*]You can exit from Console Application, by typing ' . self::STOP_PROCESS . ' instead of typing another word.');
51
        $this->output->writeln('------------------------------------------------------');
52
        $this->output->writeln('');
53
    }
54
55
    protected function start()
56
    {

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

@@ 45-53 (lines=9) @@
42
     */
43
    private $tableList = null;
44
45
    protected function getHeader()
46
    {
47
        $this->output->writeln('------------------------------------------------------');
48
        $this->output->writeln('---Plugin Generator for Entity');
49
        $this->output->writeln('---[*]You need to create table schema first.');
50
        $this->output->writeln('---[*]You can exit from Console Application, by typing '.self::STOP_PROCESS.' instead of typing another word.');
51
        $this->output->writeln('------------------------------------------------------');
52
        $this->output->writeln('');
53
    }
54
55
    protected function initFieldSet()
56
    {

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

@@ 42-50 (lines=9) @@
39
     */
40
    private $ymlList = null;
41
42
    protected function getHeader()
43
    {
44
        $this->output->writeln('------------------------------------------------------');
45
        $this->output->writeln('---Plugin Generator for Entity');
46
        $this->output->writeln('---[*]You need to create yml file first.');
47
        $this->output->writeln('---[*]You can exit from Console Application, by typing '.self::STOP_PROCESS.' instead of typing another word.');
48
        $this->output->writeln('------------------------------------------------------');
49
        $this->output->writeln('');
50
    }
51
52
    protected function initFieldSet()
53
    {

src/Eccube/Command/GeneratorCommand/PluginGenerator.php 1 location

@@ 49-56 (lines=8) @@
46
     */
47
    private $events = null;
48
49
    protected function getHeader()
50
    {
51
        $this->output->writeln('------------------------------------------------------');
52
        $this->output->writeln('---Plugin Generator');
53
        $this->output->writeln('---[*]You can exit from Console Application, by typing '.self::STOP_PROCESS.' instead of typing another word.');
54
        $this->output->writeln('------------------------------------------------------');
55
        $this->output->writeln('');
56
    }
57
58
    protected function initFieldSet()
59
    {