Code Duplication    Length = 10-10 lines in 2 locations

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

@@ 132-141 (lines=10) @@
129
     *
130
     * @throws PluginException
131
     */
132
    public function execUpdate($dryRun, $output = null)
133
    {
134
        $this->runCommand([
135
            'command' => 'update',
136
            '--no-interaction' => true,
137
            '--profile' => true,
138
            '--no-scripts' => true,
139
            '--dry-run' => (bool) $dryRun,
140
        ], $output);
141
    }
142
143
    /**
144
     * Run install command
@@ 151-160 (lines=10) @@
148
     *
149
     * @throws PluginException
150
     */
151
    public function execInstall($dryRun, $output = null)
152
    {
153
        $this->runCommand([
154
            'command' => 'install',
155
            '--no-interaction' => true,
156
            '--profile' => true,
157
            '--no-scripts' => true,
158
            '--dry-run' => (bool) $dryRun,
159
        ], $output);
160
    }
161
162
    /**
163
     * Get require