Skip to content
Permalink
Browse files

Fix [module:uninstall] Deprecated each() function #3908 (#3909)

  • Loading branch information...
jungleran authored and LOBsTerr committed Jul 12, 2018
1 parent 6264614 commit 2f90c7ee5869bf4341880586ea6fca8a3bba888e
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Command/Module/UninstallCommand.php
@@ -179,7 +179,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
}
$dependencies = [];
while (list($module) = each($moduleList)) {
foreach ($moduleList as $module => $value ) {
foreach (array_keys($moduleData[$module]->required_by) as $dependency) {
if (isset($installedModules[$dependency]) && !isset($moduleList[$dependency]) && (!array_key_exists($dependency, $profiles))) {
$dependencies[] = $dependency;

0 comments on commit 2f90c7e

Please sign in to comment.
You can’t perform that action at this time.