Open ibrother08 opened 4 years ago
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中是不推荐的
phinx/src/Phinx/Util/Util.php
$fileName = static::getCurrentTimestamp() . '_' . strtolower(implode($arr, '_')) . '.php';
感谢解决了,我的问题
啥时候官方才更新?
什么问题啊?直接修改php版本?
改为composer require topthink/think-migration:dev-master即可
composer require topthink/think-migration:dev-master
phinx/src/Phinx/Util/Util.php
文件中$fileName = static::getCurrentTimestamp() . '_' . strtolower(implode($arr, '_')) . '.php';
的implode方法的参数顺序在php7.4中是不推荐的