You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Database Driver & Version: MySQL Community Server - GPL 8.0.27
Description:
I recently upgraded from 8.x to the most recent version of laravel/framework, and I was attempting to create database migrations using the make:migration command, however after it succeeded, I was getting a syntax error surrounding my migration, which attempts declares a class named "{{ class }}".
MigrationCreator is no longer replacing the class placeholder, which means for those of us with stubs published before 8.37.0, this change is breaking, but isn't mentioned as a possible breaking change in the upgrade guide.
I've updated both of my migration stubs, so I don't need support to resolve any issue, I'm just reporting so that either the documentation can be fixed, or the changes made to MigrationCreator can be reversed.
Steps To Reproduce:
Have an existing instance of Laravel v8.x
Run artisan stub:publish or have the stubs already published.
Upgrade to the Laravel v9
Use the make:migration command to create a database migration