Skip to content
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.4 Shift #14

Closed
wants to merge 6 commits into from
Closed

Laravel 5.4 Shift #14

wants to merge 6 commits into from

Conversation

@laravel-shift
Copy link
Owner

@laravel-shift laravel-shift commented Feb 10, 2017

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

Before merging, you should:

  • Checkout the shift-5.4 branch
  • Review all pull request comments for additional changes
  • Run composer update (if the pre-commands fail, add --no-scripts)
  • Thoroughly test your application

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.

@laravel-shift
Copy link
Owner Author

@laravel-shift laravel-shift commented Feb 10, 2017

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.

@laravel-shift
Copy link
Owner Author

@laravel-shift laravel-shift commented Feb 10, 2017

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.

@laravel-shift
Copy link
Owner Author

@laravel-shift laravel-shift commented Feb 10, 2017

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.

@laravel-shift
Copy link
Owner Author

@laravel-shift laravel-shift commented Feb 10, 2017

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.

@laravel-shift
Copy link
Owner Author

@laravel-shift laravel-shift commented Feb 10, 2017

If you have manually upgraded your app from previous versions of Laravel, you should run the Laravel Linter to ensure your app is fully upgraded to the latest version of Laravel.

@laravel-shift laravel-shift deleted the shift-5.4 branch Jul 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

1 participant
You can’t perform that action at this time.