-
Notifications
You must be signed in to change notification settings - Fork 660
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
PHP8.1 xml output supprt #8321
Comments
Hey @wouter-toppy, can you reproduce the issue on https://psalm.dev ? |
Ran into this as well. Psalm v4.30.0 on PHP 8.1.10. The lib-array2xml repo has not had any updates in over three years. It could be abandoned. Fork? The workaround is incredibly simple, albeit gruesome. Apply the fix from this PR nullivex/lib-array2xml#19 to the file in the vendor directory. While normally modifying vendor files is a huge no-no for me, since I just need this for a one-off on my local machine it's fine for me, just beware. |
Almost simular to #2856
except, its not possible to pass a argument to the function anymore.
Bug is not directly fixable in psalm. but needs to be fixed in the lib-array2-xml bundle.
Reported a issue there, which needs to be fixed and tagged.
if so. than psalm need to require expliceit that version (or higher)
nullivex/lib-array2xml#21
The text was updated successfully, but these errors were encountered: