-
-
Notifications
You must be signed in to change notification settings - Fork 49
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
uopz.exit=0 and never return type #172
Comments
This is actually present since PHP 8.1 if you have configured I've submitted a PR which should sort it, but in case it doesn't get merged you could either set |
This is a somewhat philosophical question: if |
On the other hand, But again, while testing - if we disable Perhaps another solution would be to use uopz to modify return types of specific methods / functions. I'm willing to update the PR if there are any issues with it. Thanks! |
I understand what this ticket is about, but I'm still not sure if we should try to "fix" the issue, for the following reasons:
My point is that I don't like to add yet another feature, that might break in the future (or might even not work under all conditions right now), especially if that feature might not be that useful. I mean, if Note that I'm not strictly against this change. @remicollet, what do you think? |
PHP code:
Throws error:
The text was updated successfully, but these errors were encountered: