php7.4版本运行migrate:create命令报错
Opened this issue · 4 comments
ibrother08 commented
implode(): Passing glue string after array is deprecated. Swap the parameters
phinx/src/Phinx/Util/Util.php
文件中$fileName = static::getCurrentTimestamp() . '_' . strtolower(implode($arr, '_')) . '.php';
的implode方法的参数顺序在php7.4中是不推荐的
longjq commented
感谢解决了,我的问题
bibiuc commented
啥时候官方才更新?
shanezhiu commented
感谢解决了,我的问题
什么问题啊?直接修改php版本?
Yuuuu9658 commented
改为composer require topthink/think-migration:dev-master
即可