Skip to content

Commit 5e6b6b4

Browse files
authored
Warn on WP-CLI's exit_error
1 parent d3ff2a9 commit 5e6b6b4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,4 @@ Please see [WooCommerce Stubs](https://github.com/php-stubs/woocommerce-stubs)
4949
see [Variable handling functions](https://www.php.net/manual/en/ref.var.php)
5050
- If you are not bound by PHP 5.x consider following
5151
[Neutron Standard](https://github.com/Automattic/phpcs-neutron-standard)
52+
- Do not enable `exit_error` in `WP_CLI::launch` or `WP_CLI::runcommand` to keep your code testable

0 commit comments

Comments
 (0)