-
-
Notifications
You must be signed in to change notification settings - Fork 658
Laravel 7.x Shift #494
New issue
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
Laravel 7.x Shift #494
Conversation
In an effort to make upgrading the constantly changing config files easier, Shift defaulted them so you can review the commit diff for changes. Moving forward, you should use ENV variables or create a separate config file to allow the core config files to remain automatically upgradeable.
Shift attempted to automate these changes. But you should compare your |
ℹ️ Laravel 7 upgraded to Symfony 5 which passes instances of the Shift automated this change. However, if you receive a |
ℹ️ Laravel 7 moved the Authentication components into a separate Shift added this dependency for convenience. However, if you do not plan to use the Authentication components, you may remove this dependency as well as the |
ℹ️ Shift updated your These are related to the underlying Symfony 5 updates. You may change them if you are familiar with these options. |
❌ The |
|
ℹ️ Shift updated your dependencies for Laravel 7. While many of the popular packages are reviewed, you may have to update additional packages in order for your application to be compatible with Laravel 7. Watch dealing with dependencies for tips on handling package incompatibilities. |
ℹ️ Laravel 7 removed some of the PHPUnit configuration in favor of the defaults. While this is not a required changed, it is a good opportunity to compare your |
If you were manually escaping the values passed to these assertions, you no longer need do so. If you were asserting values containing HTML that should not be escaped, you may set the new Shift found the instances of these assertions within:
|
This does not affect how dates are stored. Only how they are serialized when using the If you need to preserve the previous format, you may override the |
ℹ️ All of the underlying Symfony components used by Laravel have been upgraded to Symfony 5. If you are directly interacting with Symfony components, you should review the Symfony change log for additional changes. |
ℹ️ The deprecated |
ℹ️ Shift detected you are using a Laravel package like Horizon, Nova, Spark, etc which has its own assets which may need to be regenerated after upgrading. Be sure to use |
🎉 Congratulations, you're now running the latest version of Laravel. The following Shifts can ensure your app is fully upgraded and following the practices recommended by Laravel and the community:
In addition, stay upgraded forever as well as run these Shifts by subscribing to one of the new Shifty Plans. |
This pull request includes the changes for upgrading to Laravel 7.x. Feel free to commit any additional changes to the
shift-24472
branch.Before merging, you need to:
shift-24472
branchcomposer update
(if the scripts fail, add--no-scripts
)If you need help with your upgrade, check out the Human Shifts. You may also join the Shifty Coders Slack workspace to level-up your Laravel skills.