We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
default option not see
https://phpstan.org/r/03c4de29-fba4-4d84-9055-33e182b1d1db
I expect to see the default options
No response
The text was updated successfully, but these errors were encountered:
If someone customizes the $flags argument, it will not throw though. So this should still be a "maybe" when deciding whether it throws.
$flags
Sorry, something went wrong.
a code workaround is to or the $flags with JSON_THROW_ON_ERROR:
or
JSON_THROW_ON_ERROR
https://phpstan.org/r/00c8943f-528f-4e23-abd5-126c53a9f6e2
this also fixes the issue that the code wont function correctly if someone passes a $flags that doesn't include JSON_THROW_ON_ERROR
Fixed: phpstan/phpstan-src#2524
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Successfully merging a pull request may close this issue.
Bug report
default option not see
Code snippet that reproduces the problem
https://phpstan.org/r/03c4de29-fba4-4d84-9055-33e182b1d1db
Expected output
I expect to see the default options
Did PHPStan help you today? Did it make you happy in any way?
No response
The text was updated successfully, but these errors were encountered: