Skip to content

Fix for a couple of dprecations in PHP 8.4 #315

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

Open
wants to merge 78 commits into
base: master
Choose a base branch
from

Conversation

azgooon
Copy link

@azgooon azgooon commented Apr 2, 2025

Fix PHP 8.4 compatibility:

  • Handles null in preg_match/str_replace in Postgres/Column.php,
  • Adds Traversable return type to ModelManager::getIterator and SchemaManager::getIterator with use Traversable

Vladimir Berdnik and others added 30 commits December 11, 2018 15:07
…sue-with-constant-names

Resolve issue with constant names generation for camelCased table fields
…y relations

Todo:
- Needs to be limited to have effect only when relation_name_strategy = foreign_key
- Needs unit tests, especially for snake vs camel and other config variations
Improved relationship names when using foreign_key naming strategy
Improve wording of README.md for better SEO
Provide facility to manually override generated model names
…-class

Avoid breaking same-model relationships when using base classes
lugotal and others added 30 commits September 1, 2022 11:29
Fixed typo in WhoDidIt
Replace 'date' casts with 'datetime' casts
Add few tables on the except array, Fix some typo errors
as you know laravel remove doctrine now
This ensures we only make 1 replacement, rather than potentially matching sub-strings in other FQCNs.
…ints

Use preg_replace rather than str_replace
update schema to support default schema on postgres & laravel 11 supoort on mysql
…audenmeir-laravel-cte

Add support for staudenmeir/laravel-cte
Solves problem with postgresql databases in Laravel 11
…cluding_columns

Add support for column lists in base models
Fixes Implicitly marking parameter $blueprint as nullable is deprecated, the explicit nullable type must be used instead in Model Factory
fixes deprecation in php 8.4
fixes deprecation in php 8..4
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.