Closed jbrooksuk closed 1 year ago
:x: Shift could not upgrade the following files since they differed from the default Laravel version. You will need to compare these files against the default Laravel 5.7 versions and merge any changes:
:warning: Laravel 5.7 changed the environment variable QUEUE_DRIVER
to QUEUE_CONNECTION
. Shift automated this change. However, you should review this server configuration or .env
files outside your project to see if they need to be changed.
:warning: Since you are upgrading from an older version of Laravel, Shift defaulted your customized configuration files to improve the automation in your next Shift. This was done in a separate commit so you may easily reference and backfill your customizations once you have upgraded to the latest version.
:information_source: Laravel 5.7 removed the Blade "or" operator in favor of PHP's built-in ??
"null coalesce" operator.
Shift automated this change. However, your application may still contain instances of or
if you are using Blade syntax outside of the resources
folder.
:x: Laravel 5.7 has a development dependency for fzaninotto/faker
of ^1.4
. You have a modified dependency for fzaninotto/faker
in your composer.json
. You should review your dependency and ensure it meets the new version requirement.
:x: Laravel 5.7 has a development dependency for filp/whoops
of ^2.0
. You have a modified dependency for filp/whoops
in your composer.json
. You should review your dependency and ensure it meets the new version requirement.
:x: Laravel 5.7 has a development dependency for mockery/mockery
of ^1.0
. You have a modified dependency for mockery/mockery
in your composer.json
. You should review your dependency and ensure it meets the new version requirement.
:x: Laravel 5.7 has a development dependency for phpunit/phpunit
of ^7.0
. You have a modified dependency for phpunit/phpunit
in your composer.json
. You should review your dependency and ensure it meets the new version requirement.
:information_source: Laravel 5.7 removed the resources/assets
folder in favor of placing its sub-folders directly under resources
. Shift moved these for you automatically. However, you may need to update the paths configured in your frontend build tool (e.g. webpack.mix.js
) to reflect this new structure.
While Shift encourages a fully upgraded application, this new structure is not required. If this change significantly impairs your frontend build process, you can revert this commit.
:information_source: Laravel 5.7 now supports email verification when users register for your application. If you have implemented this feature yourself you may now be able to take advantage of this native functionality. For more details, review the documentation on Email Verification.
:information_source: While it was common to customize in previous versions, Laravel now recommends keeping the default App
namespace. This will also improve your upgrade process. You can easily change it to the default by running php artisan app:name App
. After doing so, you are welcome to request a rerun of this Shift.
:x: PHP syntax errors were detected after running your Shift. Often these are simply differences between the PHP version of Shift and your project. Occasionally they are misplaced lines.
You can check the PHP syntax by running php -l
on the following files:
This pull request includes the changes for upgrading to Laravel 5.7. Feel free to commit any additional changes to the
shift-30840
branch.Before merging, you need to:
shift-30840
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.