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

Fatal error: Declaration of Tpetry\PostgresqlEnhanced\Query\BuilderWhere::orWhereLike #99

Closed
vatsake opened this issue Sep 18, 2024 · 2 comments

Comments

@vatsake
Copy link

vatsake commented Sep 18, 2024

After updating laravel/framework v11.4.0 => v11.23.5

In BuilderWhere.php line 67:
                                                                                                                                              
  Declaration of Tpetry\PostgresqlEnhanced\Query\BuilderWhere::orWhereLike($column, $value, bool $caseInsensitive = false): static must be compatible with Illuminate\Database\Query\Builder::orWhereLike($column, $value, $caseSensitive = false)   
@vatsake
Copy link
Author

vatsake commented Sep 18, 2024

Wait it downgraded... My bad :)

@vatsake vatsake closed this as not planned Won't fix, can't repro, duplicate, stale Sep 18, 2024
@tpetry
Copy link
Owner

tpetry commented Sep 18, 2024

With Laravel 11 this library has to be upgraded to the stable v1 version. The old 0.x versions don't work anymore.

I finally release a stable release to better communicate breaking changes because of conflicts with Laravel - like here: The orWhereLike method I introduced long ago has been introduced with Laravel 11.17.0 too. But with a different method signature.

@tpetry tpetry pinned this issue Sep 18, 2024
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

No branches or pull requests

2 participants