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
Psalm found a new false positive on my work project with last master.
I not sure since when the issue is there, it may be related to: #4934
https://psalm.dev/r/228ce9f5ad
The text was updated successfully, but these errors were encountered:
I found these snippets:
<?php $xml = new SimpleXMLElement(''); $result = $xml->xpath(''); $result[0]->attributes()->id;
Psalm output (using commit 00f3ccb): INFO: PossiblyUndefinedIntArrayOffset - 5:1 - Possibly undefined array offset 'int(0)' is risky given expected type 'array-key'. Consider using isset beforehand. ERROR: UndefinedPropertyFetch - 5:1 - Instance property SimpleXMLIterator::$id is not defined
Sorry, something went wrong.
No branches or pull requests
Psalm found a new false positive on my work project with last master.
I not sure since when the issue is there, it may be related to: #4934
https://psalm.dev/r/228ce9f5ad
The text was updated successfully, but these errors were encountered: