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
PhpStan assumes that filter var will return a non empty string if it was fed one. This is not correct for the sanitize versions, as those strip invalid data, which may result in an empty string
Bug report
PhpStan assumes that filter var will return a non empty string if it was fed one. This is not correct for the sanitize versions, as those strip invalid data, which may result in an empty string
Code snippet that reproduces the problem
https://3v4l.org/PXaQ7
https://phpstan.org/r/e5293908-1516-4ca5-bc29-4c6bd7ffbb4b
Expected output
The text was updated successfully, but these errors were encountered: