-
Notifications
You must be signed in to change notification settings - Fork 6
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 5.5 Shift #6
base: shift-27801
Are you sure you want to change the base?
Conversation
The Laravel framework adopts the PSR-2 coding style with some additions. Laravel apps *should* adopt this coding style as well. However, Shift allows you to customize the adopted coding style by adding your own [PHP CS Fixer][1] `.php_cs` config to your project. You may use [Shift's .php_cs][2] file as a base. [1]: https://github.com/FriendsOfPHP/PHP-CS-Fixer [2]: https://gist.github.com/laravel-shift/cab527923ed2a109dda047b97d53c200
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 could not upgrade the following Middleware since they differed from the default Laravel version. You will need to compare these files against the Laravel 5.5 versions and merge any changes:
|
ℹ️ In Laravel 5.5, the Request |
ℹ️ In Laravel 5.5, the Request |
ℹ️ In Laravel 5.5, the |
❌ Shift could not upgrade the following files since they differed from the default Laravel version. You will need to compare these application files against the default Laravel 5.5 versions and merge any changes:
|
|
ℹ️ Laravel 5.5 now sets the session cookie name using the |
ℹ️ Laravel 5.5 changed the default format for HTTP exception responses. This may affect your application if you rely upon default JSON responses. Review the Exception Format section of the Upgrade Guide for more detail. |
ℹ️ Laravel 5.5 removed |
ℹ️ If you are using the |
ℹ️ Laravel 5.5 uses package auto-discovery to make it easier to install and enable packages. This may require you to update Composer. You may do so by running In addition, you may also unregister the providers and aliases for any packages using auto-discovery from your |
❌ Laravel 5.5.42 included an important security update regarding your application encryption key. If you believe your key may be known by a third-party you should rotate the key to a new value using In addition, Laravel 5.5.42 disables all serialization of cookie values to protect against vulnerabilities inherit to PHP object serialization. This is a breaking change. If your application uses cookies, they will be invalidated. If you must maintain your cookie values, you can re-enable cookie serialization at your own risk. Review the Security Release section of the Upgrade Guide for more details. |
This pull request includes the changes for upgrading to Laravel 5.5. Feel free to commit any additional changes to the
shift-27813
branch.Before merging, you need to:
shift-27813
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.