DirectoryTree / LdapRecord-Laravel

Multi-domain LDAP Authentication & Management for Laravel.
https://ldaprecord.com/docs/laravel/v3
MIT License
512 stars 54 forks source link

Upgrade to latest version of "directorytree/ldaprecord" [Feature] #533

Closed eseligquest closed 1 year ago

eseligquest commented 1 year ago

Describe the feature you'd like: Currently main uses v2.4.4 for the "directorytree/ldaprecord" package. This version of that package uses a deprecated "tightenco/collect" package which confuses phpstan into overwriting illuminate's collection package with a

Method App\Repositories\System\GroupRepository::storeGroups() should return Illuminate\Support\Collection but returns
         Tightenco\Collect\Support\Collection<(int|string), Illuminate\Database\Eloquent\Model>.

error. If we upgrade to the latest version of "directorytree/ldaprecord", "directorytree/ldaprecord" will no longer use that deprecated package and it will remove this false error.

stevebauman commented 1 year ago

Hi @eseligquest,

This is in the works. I’m still working on LdapRecord-Laravel v3. I would expect it to be out in the coming weeks.

eseligquest commented 1 year ago

thank you!

stevebauman commented 1 year ago

Hi there @eseligquest, version 3.0 has been released! You can now update your composer.json file to v3.0 and begin the upgrade process 👍