-
Notifications
You must be signed in to change notification settings - Fork 651
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Forbid empty() #6388
Labels
Comments
Hey @ro0NL, can you reproduce the issue on https://psalm.dev ? |
I found these snippets: https://psalm.dev/r/64501b6f92<?php
var_dump('booooo');
empty('yayyyy');
|
It's not to php parser though. Should be fairly easy to add in
|
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I tried
without success. I know
empty()
is a language construct, but to me it's just a function :}The text was updated successfully, but these errors were encountered: