psalm / psalm-plugin-laravel

A Psalm plugin for Laravel
MIT License
307 stars 72 forks source link

Better eloquent stubs #245

Closed alies-dev closed 1 year ago

alies-dev commented 1 year ago

In this PR:

~Question: how about cleaning this repo and support Laravel 9 only? (there are some stubs in dirs 6 and 8 that we can drop plus we can cleanup composer.json). If you provide me a green light, I can create a PR.~

My end goal (this is few PRs process) is to make this plugin compatible with larastan, breaking changes unavailable mostly due to template syntax for Eloquent Collections - larastan's Eloquent Collection has 2 template parameters (I think this is correct approach).

mr-feek commented 1 year ago

Question: how about cleaning this repo and support Laravel 9 only? (there are some stubs in dirs 6 and 8 that we can drop plus we can cleanup composer.json). If you provide me a green light, I can create a PR.

Would be happy to merge any cleanup work done!