Code Duplication    Length = 10-10 lines in 2 locations

src/Eccube/Service/Composer/ComposerApiService.php 2 locations

@@ 158-167 (lines=10) @@
155
     * @throws \Doctrine\ORM\NoResultException
156
     * @throws \Doctrine\ORM\NonUniqueResultException
157
     */
158
    public function execUpdate($dryRun, $output = null)
159
    {
160
        $this->runCommand([
161
            'command' => 'update',
162
            '--no-interaction' => true,
163
            '--profile' => true,
164
            '--no-scripts' => true,
165
            '--dry-run' => (bool) $dryRun,
166
        ], $output);
167
    }
168
169
    /**
170
     * Run install command
@@ 179-188 (lines=10) @@
176
     * @throws \Doctrine\ORM\NoResultException
177
     * @throws \Doctrine\ORM\NonUniqueResultException
178
     */
179
    public function execInstall($dryRun, $output = null)
180
    {
181
        $this->runCommand([
182
            'command' => 'install',
183
            '--no-interaction' => true,
184
            '--profile' => true,
185
            '--no-scripts' => true,
186
            '--dry-run' => (bool) $dryRun,
187
        ], $output);
188
    }
189
190
    /**
191
     * Get require