Closed 5thAgent closed 1 month ago
Can you show your phpstan config? And it might be helpful to show your config/auth.php
Before asking for BetterReflectionProvider->getClass()
you should guard that call with BetterReflectionProvider->hasClass()
before that.
Description
When running phpstan I consistenly get the following internal error: Internal error: Class App\Models\User was not found while trying to analyse it - discovering symbols is probably not configured properly. while analysing file /Users/joshuacagle/newtrul/crm/app/Listeners/UpdateLastLoginOnLogin.php
The file in question does not use the user model which is located in App\User\Models.
Here's the error and its stack trace:
Laravel code where the issue was found
I was directed here after reporting the issue with phpstan.