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
The WP_CLI::error() method is marked as an early terminating method, but it doesn't terminate if the $exit parameter is set to false.
WP_CLI::error()
$exit
false
Its entry in the earlyTerminatingMethodCalls config should be removed and replaced with something else that's conditional, but I'm not sure what.
earlyTerminatingMethodCalls
The text was updated successfully, but these errors were encountered:
I tell you not to use that $exit parameter. Just like
phpstan-wordpress/README.md
Line 119 in f7ff091
It feels really-really bad to handle these parts of WordPress. That is all I could contribute.
Sorry, something went wrong.
a conditional return type using https://phpstan.org/writing-php-code/phpdoc-types#bottom-type in stubs might work 🤔 https://phpstan.org/r/cf63373b-41ba-4298-9639-26051d6eb5fb
No branches or pull requests
The
WP_CLI::error()
method is marked as an early terminating method, but it doesn't terminate if the$exit
parameter is set tofalse
.Its entry in the
earlyTerminatingMethodCalls
config should be removed and replaced with something else that's conditional, but I'm not sure what.The text was updated successfully, but these errors were encountered: