Code Duplication    Length = 10-10 lines in 2 locations

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

@@ 116-125 (lines=10) @@
113
     *
114
     * @throws PluginException
115
     */
116
    public function execUpdate($dryRun, $output = null)
117
    {
118
        $this->runCommand([
119
            'command' => 'update',
120
            '--no-interaction' => true,
121
            '--profile' => true,
122
            '--no-scripts' => true,
123
            '--dry-run' => !!$dryRun,
124
        ], $output);
125
    }
126
127
    /**
128
     * Run install command
@@ 135-144 (lines=10) @@
132
     *
133
     * @throws PluginException
134
     */
135
    public function execInstall($dryRun, $output = null)
136
    {
137
        $this->runCommand([
138
            'command' => 'install',
139
            '--no-interaction' => true,
140
            '--profile' => true,
141
            '--no-scripts' => true,
142
            '--dry-run' => !!$dryRun,
143
        ], $output);
144
    }
145
146
    /**
147
     * Get require