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

Access to an undefined property XMLReader::… #9057

Closed
jtojnar opened this issue Mar 19, 2023 · 2 comments
Closed

Access to an undefined property XMLReader::… #9057

jtojnar opened this issue Mar 19, 2023 · 2 comments

Comments

@jtojnar
Copy link
Contributor

jtojnar commented Mar 19, 2023

Bug report

On PHP ≥ 8.2, PHPStan will complain about undefined XMLReader properties even though they are listed on https://www.php.net/manual/en/class.xmlreader.php.

Code snippet that reproduces the problem

https://phpstan.org/r/0f9cc29e-2c42-43cb-8adc-aa704d8b8d9a

Expected output

It should pass like it does with PHP < 8.2.

@ondrejmirtes
Copy link
Member

Duplicate of #8629

@ondrejmirtes ondrejmirtes marked this as a duplicate of #8629 Mar 19, 2023
@github-actions
Copy link

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 Apr 20, 2023
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