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
A subclass of XMLParser must have the following properties re-defined or PHPStan will complain:
According to PHP documentation, these properties are public and already defined in XMLParser class.
XMLParser
My test setup uses PHP 8.2.
https://phpstan.org/r/3471ddc8-f42e-499a-92a7-3a730bf5b78c
No error, because properties are defined in mother class already.
The text was updated successfully, but these errors were encountered:
Duplicate of #8629
Sorry, something went wrong.
Alright, I checked open issues before, but only searched for "XMLParser" and not "XMLReader", as in #8629.
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.
No branches or pull requests
Bug report
A subclass of XMLParser must have the following properties re-defined or PHPStan will complain:
According to PHP documentation, these properties are public and already defined in
XMLParser
class.My test setup uses PHP 8.2.
Code snippet that reproduces the problem
https://phpstan.org/r/3471ddc8-f42e-499a-92a7-3a730bf5b78c
Expected output
No error, because properties are defined in mother class already.
The text was updated successfully, but these errors were encountered: