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
When a method exists in the codebase and is typed as never (such as dd), PHPStan may misinterpret its usage.
If we pass the method name as a string to another method that expects only a string (not a callable), PHPStan still treats it as if the never method is being invoked.
As a result, it assumes the code terminates at that point, and any statement following this line is flagged with the error: Unreachable statement - code above always terminates.