Skip to content

ignoreErrors fix#1769

Merged
ondrejmirtes merged 1 commit intophpstan:1.8.xfrom
MartinMystikJonas:ignoreErrors-fix
Sep 28, 2022
Merged

ignoreErrors fix#1769
ondrejmirtes merged 1 commit intophpstan:1.8.xfrom
MartinMystikJonas:ignoreErrors-fix

Conversation

@MartinMystikJonas
Copy link
Copy Markdown
Contributor

This is fix for my extension of ignoreErrors. I found out it does not work as expected when I used it in real-world project. This should fix it and I added test to cover it.

@ondrejmirtes
Copy link
Copy Markdown
Member

Can you explain to me in text why do you make this change and what is your expectation?

@MartinMystikJonas
Copy link
Copy Markdown
Contributor Author

MartinMystikJonas commented Sep 28, 2022

  1. ValidateIgnoredErrorsExtension was failing to validate entries with multiple messages. I extended it and I have to extract part of code to method to prevent too deep nesting.
  2. Config schema did, not allowed use of reportUnmatched without path/paths so I modified it.

@ondrejmirtes ondrejmirtes merged commit f9bb961 into phpstan:1.8.x Sep 28, 2022
@ondrejmirtes
Copy link
Copy Markdown
Member

Thank you!

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.

2 participants