Code Duplication    Length = 8-9 lines in 2 locations

Command/MassMigrateCommand.php 1 location

@@ 164-172 (lines=9) @@
161
    {
162
        // @todo disable signal slots that are harmful during migrations, if any
163
164
        if ($input->getOption('separate-process')) {
165
            $builder = new ProcessBuilder();
166
            $executableFinder = new PhpExecutableFinder();
167
            if (false !== $php = $executableFinder->find()) {
168
                $builder->setPrefix($php);
169
            }
170
171
            $builderArgs = parent::createChildProcessArgs($input);
172
        }
173
174
        $failed = 0;
175
        $executed = 0;

Command/MigrateCommand.php 1 location

@@ 105-112 (lines=8) @@
102
            return 0;
103
        }
104
105
        if ($input->getOption('separate-process')) {
106
            $builder = new ProcessBuilder();
107
            $executableFinder = new PhpExecutableFinder();
108
            if (false !== $php = $executableFinder->find()) {
109
                $builder->setPrefix($php);
110
            }
111
            $builderArgs = $this->createChildProcessArgs($input);
112
        }
113
114
        $executed = 0;
115
        $failed = 0;