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

⬆️ upgrade to Laravel v11 #3004

Merged
merged 4 commits into from
Dec 31, 2024
Merged

⬆️ upgrade to Laravel v11 #3004

merged 4 commits into from
Dec 31, 2024

Conversation

MrKrisKrisu
Copy link
Member

@MrKrisKrisu MrKrisKrisu commented Nov 23, 2024

  • "spatie/laravel-sitemap": "^7.2.1" causes upgrade conflicts (currently removed)

@MrKrisKrisu MrKrisKrisu changed the title upgrade dependencies ⬆️ upgrade to Laravel v11 Nov 23, 2024
Instead of always utilizing the MySQL driver when connecting to MariaDB databases, Laravel 11 adds a dedicated database driver for MariaDB.
Laravel 11 supports both Carbon 2 and Carbon 3. Carbon is a date manipulation library utilized extensively by Laravel and packages throughout the ecosystem. If you upgrade to Carbon 3, be aware that diffIn* methods now return floating-point numbers and may return negative values to indicate time direction, which is a significant change from Carbon 2. Review Carbon's change log and documentation for detailed information on how to handle these and other changes.
Added explicit `(int)` cast to fix a `TypeError` caused by `floor()` returning a float. This resolves the issue where Carbon's `setDateTime()` expects `$minute` as an int.
@MrKrisKrisu MrKrisKrisu marked this pull request as ready for review December 31, 2024 19:28
@MrKrisKrisu MrKrisKrisu merged commit 1ce1fb5 into develop Dec 31, 2024
11 checks passed
@MrKrisKrisu MrKrisKrisu deleted the dev-ks/laravel11 branch December 31, 2024 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant