Replies: 3 comments 5 replies
-
Hi @IYSaschi, LdapRecord v3 is coming out which will remove usage of However, I'm surprised this is happening, since tightenco/collect checks if Laravel collections exist: If you're running the latest Laravel v10 and this issue is occurring, then I may have to release LdapRecord v3 sooner than anticipated. |
Beta Was this translation helpful? Give feedback.
-
I'am back, sadly it was not possible for me to upgrade my project to laravel 10. To many dependencies won't work. |
Beta Was this translation helpful? Give feedback.
-
Hey @stevebauman , I got a solution for the problem, If somebody has the same problem here is the solution, which works for me with laravel 9.52.0:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Dear community & LdapRecord-team
I got problems with tightenco collect()-helper overwriting Illuminate collect()-helper
Loadorder autoload_files.php:
My Loadorder seems right, Illuminate is loaded first. So tightenco should recocnize that a helper with name "collect()" is already present, or em I wrong?
Because phpstan throws the following erro:
should return Illuminate\Support\Collection but returns
Tightenco\Collect\Support\Collection.
Tightenco\Collect always overwrites Illuminate and I don't know how to fix it. I also dont think that this package is needed at all because its: (statement from packagist) "Deprecated: With the separation of Illuminate's Collections package, Collect is no longer necessary 🎉 . We will maintain it for the 8.0 and 9.0 releases of Laravel for the convenience of package maintainers, and will stop mirroring new major versions after 9.0, but keep the existing package here for continued support." https://packagist.org/packages/tightenco/collect
This is also pointed out on tightencos github-page: https://github.com/tighten/collect
There are also some other threats about this problem e.g.
tighten/collect#92
laravel/framework#23420
https://github.com/composer/composer/pull/1051/files#diff-33037407f7f293f37df2258567b56598R238
Till now I got no solution for this problem, maybe you can help!
Thank you!
Greetings IYSaschi
Beta Was this translation helpful? Give feedback.
All reactions