Skip to content

Conversation

fdalex
Copy link

@fdalex fdalex commented Nov 26, 2021

Hi !
With PHP 7.2+ there are deprecated warning when running migrations command line because of each() function.

Function each() is deprecated since PHP 7.2 and will be removed in PHP 8.0.
Replaced each() function by an equivalent so there are no more deprecation errors when running the migration command line.

Tested with PHP 7.4.25, CakePHP 2.10.24

Function each() is deprecated since PHP 7.2 and will be removed in PHP 8.0.
Replaced each() function by an equivalent so there are no more deprecation errors when running the migration command line.

Tested with PHP 7.4.25, CakePHP 2.10.24
@fdalex
Copy link
Author

fdalex commented Apr 29, 2022

hello, is it planned to update master branch with this modification ? (or create a branch for 7.2+ compatibility ?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant