Skip to content

Commit 3b7e0a1

Browse files
committed
Add WP-CLI early terminating calls
The ones that have exit() calls in them.
1 parent d3ff2a9 commit 3b7e0a1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

extension.neon

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,9 @@ parameters:
3939
- wp_send_json_error
4040
- wp_nonce_ays
4141
- dead_db
42+
earlyTerminatingMethodCalls:
43+
\WP_CLI:
44+
- WP_CLI::error
45+
- WP_CLI::halt
46+
- WP_CLI::launch
47+
- WP_CLI::runcommand

0 commit comments

Comments
 (0)