Weebly / phpstan-laravel

Laravel plugins for PHPStan
BSD 2-Clause "Simplified" License
51 stars 22 forks source link

Call to an undefined static method App\Models\User::find() #6

Open loic-lopez opened 6 years ago

loic-lopez commented 6 years ago

Hello,

I have errors from my models and laravel classes

Call to static method make() on an unknown class Validator
Call to an undefined static method App\Models\User::where()

I would like to thank you for creating this package 👍

twistor commented 6 years ago

Thanks. We're definitely missing lots of Laravel magic. I'll try to get to this on Friday.

carusogabriel commented 6 years ago

@twistor Maybe we can set up a roadmap to fix all Laravel + PHPStan issues. I'd love to help in that :)

hopeseekr commented 6 years ago

Would this fix all of the Static call to instance method App\Models\Note::whereIn()??

Makes it virtually useless to me.