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

ignoreErrors: multiple messages in and explixit reportUnmatched #1686

Merged

Conversation

MartinMystikJonas
Copy link
Contributor

@MartinMystikJonas
Copy link
Contributor Author

Oh it looks like I have to figure out how to make parameters schema keys optional.

@MartinMystikJonas
Copy link
Contributor Author

I solved it by extending ParametersSchemaExtension. Keys prepended with ? are created as optional.

@ondrejmirtes
Copy link
Member

@ondrejmirtes ondrejmirtes merged commit 3cd0ed3 into phpstan:1.8.x Sep 20, 2022
@MartinMystikJonas
Copy link
Contributor Author

MartinMystikJonas commented Sep 21, 2022

Docs update here: phpstan/phpstan#8039

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants