Skip to content
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

FP: property access from "simplexml_load_string" results is not always true #3965

Closed
voku opened this issue Oct 18, 2020 · 2 comments
Closed

Comments

@voku
Copy link
Contributor

voku commented Oct 18, 2020

Bug report

Property access from simplexml_load_string results (SimpleXMLElement|false) is not always true.

Code snippet that reproduces the problem

https://phpstan.org/r/52d37b53-6356-4e36-8c81-c036b2298fe1

https://3v4l.org/apPUJ

Expected output

no error

@voku voku closed this as completed Oct 18, 2020
@voku voku reopened this Oct 18, 2020
@ondrejmirtes
Copy link
Member

Fixed: phpstan/phpstan-src@83c1e0b

@github-actions
Copy link

github-actions bot commented May 5, 2021

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants