-
Notifications
You must be signed in to change notification settings - Fork 96
Fix beforeNormalization #132
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
Fix beforeNormalization #132
Conversation
Thanks for creating the PR 🙌
Could you please also add a test case in
phpstan-symfony/tests/Type/Symfony/Config/TreeBuilderTest.php
Lines 173 to 185 in cc9d9ac
I added the test
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.
While you're at it, could you please fix the indentation of this test case (plus the ones above that I forgot too)? 🙏 Would make it easier to understand.
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.
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.
Great! 👏
Thank you!
Related to #131 cc @ruudk
BeforeNormalization has the same behavior than validate.
This fix an issue with
I tried it on my project and it fix the error. A release after the merge could be great if you have time @ondrejmirtes :)