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
PHPStan 0.12 on PHP 8.0 report the error:
Parameter #1 $qualifiedName of method DOMElement::removeAttributeNode() expects string, DOMAttr given.
On PHP 7.1 - 7.4 does not report any error.
Check: https://phpstan.org/r/8d846859-ffc0-48a8-bf6b-b58bcee1baa1
Signature DOMElement::removeAttributeNode(DOMAttr $oldnode): bool is well defined on https://github.com/phpstan/phpstan-src/blob/19bf582aa3c0e0809446a17399d17d17ab40297c/resources/functionMap.php#L1956 since 2018-02-18 commit phpstan/phpstan-src@f486280.
DOMElement::removeAttributeNode(DOMAttr $oldnode): bool
The text was updated successfully, but these errors were encountered:
Reported as PHP bug: https://bugs.php.net/bug.php?id=80537
Sorry, something went wrong.
Fixed: php/php-src@27e2508 + phpstan/php-8-stubs@4f642d7 + phpstan/phpstan-src@4430549
Thank you very much @nikic for such a swift fix :)
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
PHPStan 0.12 on PHP 8.0 report the error:
On PHP 7.1 - 7.4 does not report any error.
Check: https://phpstan.org/r/8d846859-ffc0-48a8-bf6b-b58bcee1baa1
Signature
DOMElement::removeAttributeNode(DOMAttr $oldnode): bool
is well defined on https://github.com/phpstan/phpstan-src/blob/19bf582aa3c0e0809446a17399d17d17ab40297c/resources/functionMap.php#L1956 since 2018-02-18 commit phpstan/phpstan-src@f486280.The text was updated successfully, but these errors were encountered: