We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
$fileName = static::getCurrentTimestamp() . '' . strtolower(implode($arr, '')) . '.php'; ?? implode(): Passing glue string after array is deprecated. Swap the parameters --> implode( '_', $arr )
The text was updated successfully, but these errors were encountered:
me too, my php version is 7.4, please fix it ASAP. the newest method in Util.php of Phinx project has been changed like below:
public static function mapClassNameToFileName($className) { $snake = function ($matches) { return '_' . strtolower($matches[0]); }; $fileName = preg_replace_callback('/\d+|[A-Z]/', $snake, $className); $fileName = static::getCurrentTimestamp() . "$fileName.php"; return $fileName; }
Sorry, something went wrong.
No branches or pull requests
$fileName = static::getCurrentTimestamp() . '' . strtolower(implode($arr, '')) . '.php';
??
implode(): Passing glue string after array is deprecated. Swap the parameters
--> implode( '_', $arr )
The text was updated successfully, but these errors were encountered: