We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This issue tracks the status of smart casts in the linter.
instanceof
Only works for the simple case:
if ($a instanceof Foo) { // $a has \Foo type }
And at the moment the variable continues to have this type after the if block, which is a bug. #370 #363 #339 #286 #253
isset
if (isset($a)) { // $a exists }
#287
empty
if (!empty($a)) { // $a exists }
is_T
Not yet implemented.
Support for negation, support for simple AND and OR. All is_T functions.
#346
The text was updated successfully, but these errors were encountered:
is_t
@return
return
No branches or pull requests
This issue tracks the status of smart casts in the linter.
Current
instanceof
Only works for the simple case:
And at the moment the variable continues to have this type after the if block, which is a bug.
#370
#363
#339
#286
#253
isset
Only works for the simple case:
#287
empty
Only works for the simple case:
is_T
functionsNot yet implemented.
Planned
Support for negation, support for simple AND and OR.
All
is_T
functions.#346
The text was updated successfully, but these errors were encountered: