Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
jungleran opened this issue Jul 12, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@jungleran
Copy link
Contributor

commented Jul 12, 2018

Problem/Motivation

Deprecated function: The each() function is deprecated. This message will be suppressed on further calls in Drupal\Console\Command\Module\UninstallCommand->execute() (line 182 of /var/www/html/vendor/drupal/console/src/Command/Module/UninstallCommand.php)

Releted Drupal core issue: [PHP 7.2] each() function is deprecated, https://www.drupal.org/project/drupal/issues/2885309

How to reproduce

run drupal mou MODULE_NAME

Details to include:

  • Console version

1.8.0

Solution

Use foreach

@LOBsTerr

This comment has been minimized.

Copy link
Member

commented Jul 12, 2018

@jungleran Thank you for your contribution. I have merged your code

@LOBsTerr LOBsTerr closed this Jul 12, 2018

@LOBsTerr LOBsTerr added this to the 1.9.0 milestone Jul 12, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.