Laravel 7.x Shift#209
Conversation
This reverts commit 6398716.
Shift automatically applies the Laravel coding style - which uses the PSR-12 coding style as a base with some minor additions. You may customize the code style applied by configuring [Pint](https://laravel.com/docs/pint), [PHP CS Fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer), or [PHP CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer) for your project root. For more information on customizing the code style applied by Shift, [watch this short video](https://laravelshift.com/videos/shift-code-style).
PHP 5.5.9 adds the new static `class` property which provides the fully qualified class name. This is preferred over using strings for class names since the `class` property references are checked by PHP.
In an effort to make upgrading the constantly changing config files easier, Shift defaulted them and merged your true customizations - where ENV variables may not be used.
|
Shift attempted to automate these changes, but you should compare your |
|
ℹ️ Laravel 7 upgraded to Symfony 5 which passes instances of the Shift automated this change. However, if you receive a |
|
ℹ️ Laravel 7 moved the Authentication components into a separate Shift added this dependency for convenience. However, if you do not plan to use the Authentication components, you may remove this dependency as well as the |
|
ℹ️ Shift detected the use of Markdown mail templates. In Laravel 7, Markdown mail templates expect unindented HTML, because indentation has special meaning within Markdown. Shift automated this change for Laravel's default mail templates. However, you may consider re-publishing these instead to take advantage of recent design updates. You may do so by running the command: php artisan vendor:publish --tag=laravel-mail --force |
|
Shift attempted to automate this change, but you should review any additional environment configuration and update to the new variable name. |
|
You should review this commit for additional customizations or opportunities to use new |
|
ℹ️ Shift detected your application uses custom
|
|
|
|
This does not affect how dates are stored. Only how they are serialized when using the If you need to preserve the previous format, you may override the |
|
ℹ️ All of the underlying Symfony components used by Laravel have been upgraded to Symfony 5. If you are directly interacting with any Symfony component, you should review the Symfony change log for additional changes. |
|
For tips on running multiple Shifts effectively, watch upgrading old Laravel applications. |
* master: herd.yml MeasurementController - Enable clean_weight again Device - Fix sensor definition if changed Update MeasurementController.php Update MeasurementController.php MeasurementController - Add debug log Revert "Update MeasurementController.php" Update MeasurementController.php MeasurementController - measurements only recalculate calibrations if on MeasurementController - Measurement disable clean_weight MeasurementController - measurements do not force recalculate sensor definitions MeasurementController - Enable net_weight_kg only MeasurementController - Revert feature clean weight # Conflicts: # app/Device.php # app/Http/Controllers/Api/MeasurementController.php
Shift automatically applies the Laravel coding style - which uses the PSR-12 coding style as a base with some minor additions. You may customize the code style applied by configuring [Pint](https://laravel.com/docs/pint), [PHP CS Fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer), or [PHP CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer) for your project root. For more information on customizing the code style applied by Shift, [watch this short video](https://laravelshift.com/videos/shift-code-style).
Laravel 8 adopts the tuple syntax for controller actions. Since the old options array is incompatible with this syntax, Shift converted them to use modern, fluent methods.
In an effort to make upgrading the constantly changing config files easier, Shift defaulted them and merged your true customizations - where ENV variables may not be used.
Laravel 8.x Shift
…by dyrynda/laravel-cascade-soft-deletes
This pull request includes the changes for upgrading to Laravel 7.x. Feel free to commit any additional changes to the
shift-137373branch.Before merging, you need to:
shift-137373branchcomposer update(if the scripts fail, try with--no-scripts)If you need help with your upgrade, check out the Human Shifts.