Code Duplication    Length = 19-19 lines in 2 locations

src/Openl10n/Cli/Command/PullCommand.php 1 location

@@ 15-33 (lines=19) @@
12
    /**
13
     * {@inheritdoc}
14
     */
15
    protected function configure()
16
    {
17
        $this
18
            ->setName('pull')
19
            ->setDescription('Pull the translations from the server to the local files')
20
            ->addOption(
21
                'locale',
22
                null,
23
                InputOption::VALUE_REQUIRED|InputOption::VALUE_IS_ARRAY,
24
                'The locale id, "default" for the source, "all" for every locales found',
25
                ['default']
26
            )
27
            ->addArgument(
28
                'files',
29
                InputArgument::IS_ARRAY,
30
                'File list you want to pull from the server'
31
            )
32
        ;
33
    }
34
35
    /**
36
     * {@inheritdoc}

src/Openl10n/Cli/Command/PushCommand.php 1 location

@@ 17-35 (lines=19) @@
14
    /**
15
     * {@inheritdoc}
16
     */
17
    protected function configure()
18
    {
19
        $this
20
            ->setName('push')
21
            ->setDescription('Push the translations from the local files to the server')
22
            ->addOption(
23
                'locale',
24
                null,
25
                InputOption::VALUE_REQUIRED|InputOption::VALUE_IS_ARRAY,
26
                'The locale id, "default" for the source, "all" for every locales found',
27
                ['default']
28
            )
29
            ->addArgument(
30
                'files',
31
                InputArgument::IS_ARRAY,
32
                'File list you want to push to the server'
33
            )
34
        ;
35
    }
36
37
    /**
38
     * {@inheritdoc}