Conversation
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).
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 recommends changing this to align with the latest Laravel conventions and improve Shift's automation. After doing so, you may request a rerun of this Shift. |
✨ Automate more with AI...
Shift automates the changes it determines are reliable. If you want to push this automation further, you may paste the following prompt into your AI of choice: I'm upgrading to Laravel 12. Middleware is no longer inherited from parent
controllers. Please review the following controllers to determine if they relied
on middleware defined in a parent controller. If so, add the missing middleware
directly to each child controller.
- app/Http/Controllers/Auth/ForgotPasswordController.php
- app/Http/Controllers/Auth/LoginController.php
- app/Http/Controllers/Auth/RegisterController.php
- app/Http/Controllers/Auth/ResetPasswordController.php
|
|
You should review this commit for additional customizations or opportunities to use new |
|
ℹ️ Shift detected customized options within your configuration files which may be set with an CACHE_PREFIX=laravel
CACHE_STORE=fileNote: some of these may simply be values which changed between Laravel versions. You may ignore any |
|
ℹ️ Shift detected your application uses custom
|
|
ℹ️ Laravel 12 removed the |
|
If your application uses cache prefixes or session cookies and you were not explicitly setting these ENVs, you may set them to their previous defaults to avoid any unexpected behavior. |
|
Shift detected additional references to the
|
|
ℹ️ Laravel added a Shift added this script, as well as the necessary packages. Once you run |
|
ℹ️ Laravel added a |
|
ℹ️ Laravel added a |
|
ℹ️ In a minor release of Laravel 11, the Shift added the |
|
ℹ️ If you are using You may update the Laravel installer by running: composer global require laravel/installer |
|
'cover' => ['required', 'image:allow_svg'],
'avatar' => ['required', File::image(allowSvg: true)], |
|
ℹ️ The container now respects the default value of constructor parameters when resolving a class instance. If you were previously relying on the container to set a value, you will need to pass in this value when resolving the class instead. |
This pull request includes the changes for upgrading to Laravel 12.x. Feel free to commit any additional changes to the
shift-173252branch.Before merging, you need to:
shift-173252branchcomposer update(if the scripts fail, try with--no-scripts)If you get stuck, never hesitate to email support. If you need more help with your upgrade, check out the Human Shifts.