-
Notifications
You must be signed in to change notification settings - Fork 468
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
Updated signatures for "XML parser" #3691
Conversation
Hi, can you show on phpstan.org/try which bugs this fixes? I feel like we don't need most of the changes as PHPStan will already report them correctly, mostly thanks to https://github.com/phpstan/php-8-stubs. |
Hi, e.g. https://phpstan.org/r/84e5838e-96ed-4111-b332-1424bd6ad513 Stubs look wrong to me ... (?) All changes are ...
|
As I said, most of these are taken care of thanks to php-8-stubs. Please submit only the changes from |
So it's better to not allow that either. |
Mhhh, we are running php7.4 ... not 8.4. I have read that it will be deprecated, but phpstan also supports older versions. Not? So i have to baseline that? |
It supports older versions, but you can also fix the deprecated code even before you upgrade to newer version. You eventually want to upgrade from an unsupported version, right :) Having PHPStan report the error forces you to get ready for a newer PHP version sooner. |
Normally I'm fixing these errors, but after all these years no one complained about |
Thanks. Tried to help. |
Updated all signatures according to https://www.php.net/manual/en/function.xml-error-string.php
(hope i did it right with deltas)