davedevelopment / phpmig

Simple migrations system for php
Other
569 stars 92 forks source link

PHPMig is not compatible with PHP 7.2 yet #132

Closed sc-gertjan closed 6 years ago

sc-gertjan commented 6 years ago

When I try to run ./phpmig status on an install with PHP 7.2 I get this error: The each() function is deprecated. This message will be suppressed on further calls Eventually the function gets aborted and I can't go further. When I try to use ./phpmig up <timestamp> I get the same error. Unfortunatly I do not know exactly where the error is from, it's an exception that has been thrown, error reporting doesn't return anything, even though I set it to be quite verbose.

EDIT: I am guessing the issue lies within another package we use which also gets loaded prior before anything frm phpmig is being actually run. Will look into it further when I have more time. Will reopen the issue if needed by then.