Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

XmlServiceMapFactory: Add more info in case of XML can not be parsed. #209

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

Closed
janbarasek wants to merge 1 commit into phpstan:1.2.x from janbarasek:patch-1
Closed

Conversation

Copy link

@janbarasek janbarasek commented Nov 24, 2021

The current error message only informs that a parsing error has occurred. More information should be added to the message as to why the parsing failed.

Current error message:

Snímek obrazovky 2021年11月24日 v 14 17 31

Copy link
Member

Hi, a test would be nice! :) It should be easy, a new XmlServiceMapFactoryTest that tries to call create() with a malformed file.

Copy link
Collaborator

lookyman commented Jan 9, 2022

Also please add the same logic to XmlParameterMapFactory.

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /