Code Duplication    Length = 9-9 lines in 2 locations

src/Installer.php 2 locations

@@ 172-180 (lines=9) @@
169
170
        }
171
172
        foreach ($install as $action_install) {
173
174
            $action_fqcn = 'Comodojo\\Installer\\Actions\\' . $action_install;
175
176
            $action = new $action_fqcn($this->composer, $this->io, $target_package_path, $installer);
177
178
            $action->install($target_package_name, $target_actions_map[$action_install]);
179
180
        }
181
182
        foreach ($update as $action_update) {
183
@@ 182-190 (lines=9) @@
179
180
        }
181
182
        foreach ($update as $action_update) {
183
184
            $action_fqcn = 'Comodojo\\Installer\\Actions\\' . $action_update;
185
186
            $action = new $action_fqcn($this->composer, $this->io, $target_package_path, $installer);
187
188
            $action->update($target_package_name, $initial_actions_map[$action_update], $target_actions_map[$action_update]);
189
190
        }
191
192
    }
193