-
-
Notifications
You must be signed in to change notification settings - Fork 63
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
Tests: Fix libxml >= 2.12 compatibility #797
Conversation
Thanks for working on this @asispts. Quick question: why did you change the regex delimiter from a backtick to |
It's just a personal preference, and because It's hard to see "`" in the regex string. I'll change it back to "`" if needed. |
Yes please. I'd like to evaluate the PR on the changes actually needed for libxml 2.12 and not get distracted/confused by unrelated changes. |
Done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@asispts Thank you very much for working on this.
While it would have been nice to have a test with a ruleset which would consistently display three errors on both libxml
< 2.12 as well as >= 2.12, I can live with this. The underlying code handling errors from libxml
is still being tested well enough to safeguard its functionality.
Thank you @asispts for investigating and unblocking this issue.
@remicollet This PR should mean that once PHPCS 3.12.0 has been released, you can remove the previously added @requires ...
tag from the test docblock in the Fedora test setup. (will be confirmed before release via PR #798)
@asispts In the changelog, this project likes to give credit where credit is due and that means it normally contains the full name + handle of the contributor. If that's okay with you, would you mind sharing your name ? If not, I'll just use your GitHub handle. Okay ? |
@jrfnl Yeah, it’s "Asis Pattisahusiwa" |
@asispts Thanks. Noted. |
Description
I've updated the tests to support both
libxml < 2.12
and>= 2.12
.Suggested changelog entry
Related issues/external references
Fixes #767
Types of changes
PR checklist