Skip to content
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

Preserve libxml errors after failed parsing #101

Merged
merged 3 commits into from
Jun 18, 2024

Conversation

dpushkarev
Copy link

It can be helpful to retrieve parse errors at times.

Copy link
Contributor

@ohader ohader left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reasonable enhancement 👍

* Retrieve array of errors
* @return array
*/
private static function getXmlErrors(): array
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you might want to avoid return types for compatibility with php ^5.6

@darylldoyle
Copy link
Owner

Thank you @dpushkarev!

@darylldoyle darylldoyle added this to the 0.19.0 milestone Jun 18, 2024
@darylldoyle darylldoyle merged commit e95cd17 into darylldoyle:master Jun 18, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants