- 
 
- 
  Notifications
 You must be signed in to change notification settings 
- Fork 56
Laravel 5.5 Shift #40
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
Conversation
i In Laravel 5.5, the Request has() method returns true for empty strings and null. If you would like to preserve the old behavior of the has() method, you may use the new filled() method instead.
i In Laravel 5.5, the Request only() method returns attributes that are actually present in the request payload. If you would like to preserve the old behavior of the only() method, you may use the all() method instead.
 
 
 1 similar comment
 
 
 
 i In Laravel 5.5, the Request only() method returns attributes that are actually present in the request payload. If you would like to preserve the old behavior of the only() method, you may use the all() method instead.
i In Laravel 5.5, the request() helper will no longer retrieve nested keys. You may instead use the input() method to retrieve nested keys, for example: request()->input('nested.key')
❌ 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.5 versions and merge any changes:
- phpunit.xml
- public/index.php
- tests/Feature/ExampleTest.php
❌ 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.5 configuration files and merge any changes:
- config/services.php
i Laravel 5.5 now sets the session cookie name using the APP_NAME. If you rely on the previous laravel_session value, you may set this using the new SESSION_COOKIE environment variable. Review the cookie key in config/session.php for more details.
❌ Laravel 5.5 requires PHP 7. You have a modified dependency for PHP in your composer.json. Ensure it meets the new version requirement of >=7.0.0.
i 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.
i Laravel 5.5 removed bootstrap/autoload.php and uses the Composer vendor/autoload.php instead. If you were referencing bootstrap/autoload.php directly, you should upgrade your application accordingly.
i If you are using the database cache driver, you should run php artisan cache:clear when running your upgraded Laravel 5.5 application for the first time.
i 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 composer self-update. Review the Composer documentation for more details.
In addition, you may also unregister the providers and aliases for any packages using auto-discovery from your config/app.php.
e5b43d3 to
 cdf9b04  
 Compare
 
 
This pull request includes the changes for upgrading to Laravel 5.5. Feel free to commit any additional changes to the
shift-6275branch.Before merging, you should:
shift-6275branchcomposer update(if the pre-scripts fail, add--no-scripts)If you need help with your upgrade, check out the Shift Human Services or join the Shifty Coders Slack room to get answers to all your Laravel questions.