You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
PHPStan is saying expectThrowable wants Exception classes based on _generated\Throwable instead of simply PHP's Throwable #18
Hey there, this is in relation to #13. This may be similar to #9 which is from our prior colleague.
I would expect that expectThrowable would simply accept Throwable. It is impossible for us to make copies of every error class just so that it works with this weird new Throwable. If i look at your code, i can see that you're also expecting the PHP one. Something may just have gone wrong by using the use statement instead of the backslash.
changed the title [-]PHPStan is saying expectThrowable wants _generated\Throwable instead of simply PHP's Throwable[/-][+]PHPStan is saying expectThrowable wants Exception classes based on _generated\Throwable instead of simply PHP's Throwable[/+]on Dec 8, 2021
Activity
[-]PHPStan is saying expectThrowable wants _generated\Throwable instead of simply PHP's Throwable[/-][+]PHPStan is saying expectThrowable wants Exception classes based on _generated\Throwable instead of simply PHP's Throwable[/+]