Remove WP_CLI::error from earlyTerminatingMethodCalls config#284
Remove WP_CLI::error from earlyTerminatingMethodCalls config#284szepeviktor merged 1 commit intoszepeviktor:2.xfrom lipemat:patch-1
WP_CLI::error from earlyTerminatingMethodCalls config#284Conversation
`WP_CLI::error` supports an `$exit` parameter to disable terminating. Fixes: #213
|
Thank you! |
|
@johnbillion Will it be a nicer day with this change? |
|
I don't think this is right approach because the method terminates by default. It needs to be a conditional rule based on the value of the |
|
@lipemat Could you make John's wish come true? |
|
Ideally we would remove both We have an effort to add proper types happening over here. Until the |
|
The proper types made it into the main branch on wp-cli. |
|
Very nice. Let's hope the Internet won't blow up! |
WP_CLI::errorsupports an$exitparameter to disable terminating.Fixes: #213