-
Notifications
You must be signed in to change notification settings - Fork 316
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 11.x Shift #523
base: master
Are you sure you want to change the base?
Laravel 11.x Shift #523
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).
Accessing Faker properties was deprecated in Faker 1.14.
ℹ️ To slim down the Laravel installation, Laravel 11 no longer has most of the core files previously included in the default Laravel application. While you are welcome to publish and customize these files, they are no longer required. Shift takes an iterative approach to removing core files which are not customized or where its customizations may be done elsewhere in a modern Laravel 11 application. As such, you may see some commits removing files and others re-registering your customizations. |
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. |
ℹ️ Laravel 9 moved the |
ℹ️ Starting with Laravel 10, the Shift streamlined your language files by removing them since they did not contain any customizations. If you wish to keep the full set of language, Shift recommends running |
ℹ️ Laravel 11 no longer requires you to maintain the default configuration files. Your configuration now merges with framework defaults. Shift streamlined your configuration files by removing options that matched the Laravel defaults and preserving your true customizations. These are values which are not changeable through If you wish to keep the full set of configuration files, Shift recommends running |
ℹ️ Shift detected customized options within your configuration files which may be set with an APP_NAME=DreamFactory
ARGON_MEMORY=1024
ARGON_THREADS=2
ARGON_TIME=2
AUTH_MODEL=\DreamFactory\Core\Models\User
AUTH_PASSWORD_RESET_TOKEN_TABLE=password_resets
BCRYPT_ROUNDS=10
CACHE_STORE=file
DB_CACHE_CONNECTION=sqlite
DB_DATABASE=dreamfactory
DB_HOST=127.0.0.1
DB_USERNAME=
LOG_LEVEL=warning
LOG_STDERR_FORMATTER=Monolog\Formatter\LineFormatter
MAIL_MAILER=smtp
QUEUE_CONNECTION=sync
REDIS_CLIENT=predis
REDIS_QUEUE_CONNECTION=queue
SESSION_DRIVER=array
SESSION_SECURE_COOKIE=false Note: some of these may simply be values which changed between Laravel versions. You may ignore any |
ℹ️ Shift detected your application uses custom
|
Shift automated this change for your committed files, but you should review any additional locations where your environment is configured and update to the new variable names. |
❌ The |
🎉 Congratulations, you're now running the latest version of Laravel! Next, you may optionally run the following Shifts to ensure your application is fully upgraded, adopts the latest Laravel conventions, and easier to maintain in the future:
You may also use the Shift Workbench to automate common tasks for maintaining your Laravel application. |
This pull request includes the changes for upgrading to Laravel 11.x. Feel free to commit any additional changes to the
shift-124321
branch.Before merging, you need to:
shift-124321
branchcomposer update
(if the scripts fail, try with--no-scripts
)If you need help with your upgrade, check out the Human Shifts.