hskrasek / DashboardersHeaven.com

http://dashboardersheaven.com
0 stars 1 forks source link

Laravel 5.4 Shift #17

Closed hskrasek closed 7 years ago

hskrasek commented 7 years ago

This pull request includes the changes for upgrading to Laravel 5.4. Feel free to commit any additional changes to the shift-2400 branch.

Before merging, you should:

If you would like more help with your upgrade, check out the human services from Laravel Shift. And if you want to level-up your Git skills, check out Getting Git.

hskrasek commented 7 years ago

ℹ Laravel 5.4 added new middleware to handle whitespace in request data. This may affect the data your application received. Read this post on Laravel News for more detail to see if you need to modify your application.

hskrasek commented 7 years ago

❌ Shift could not upgrade app/Providers/BroadcastServiceProvider.php. You will need to compare yours against the 5.4 version and merge any new changes. You should also add the new routes/channels.php file into your project.

hskrasek commented 7 years ago

❌ Shift could not upgrade the following project files since they differed from the default Laravel version. You will need to compare these project files against the default Laravel 5.4 versions and merge any changes:

hskrasek commented 7 years ago

❌ Shift could not upgrade the following configuration files since they differed from the default Laravel version. You will need to compare these configuration files against the Laravel 5.4 configuration files and merge any changes:

hskrasek commented 7 years ago

⚠ It looks like you have some custom tests. Laravel 5.4's testing layer has been re-written. You should review the Testing section of the Upgrade Guide to determine if you want to upgrade your tests (recommended) or run them with the Laravel 5.3 testing layer.

hskrasek commented 7 years ago

ℹ In Laravel 5.4, the date cast creates a Carbon object which calls startOfDay. If you need to preserve the time portion of the date, you should use the datetime cast or convert your column to a datetime. Review the documentation on Attribute Casting for more details.

hskrasek commented 7 years ago

ℹ Laravel 5.4 no longer includes the ability to customize the PDO "fetch style". Now PDO::FETCH_OBJ is always used. If you need to customize the fetch style, check the Database section of the Upgrade Guide for more details.

hskrasek commented 7 years ago

⚠ Per the Upgrade Guide, you should run php artisan view:clear and php artisan route:clear after upgrading all packages to flush the view and route cache.