There was an error while loading. Please reload this page.
2 parents fa08eb1 + 6fcf2d6 commit 97b7bddCopy full SHA for 97b7bdd
1 file changed
scoper.inc.php
@@ -58,13 +58,16 @@
58
], // list<string|regex>
59
'exclude-constants' => array_merge($wp_constants, [
60
'WC_VERSION',
61
+ 'WP_CLI',
62
]), // list<string|regex>
63
'exclude-classes' => array_merge($wp_classes, [
64
'WooCommerce',
65
'/^WC_/',
66
+ '/^WP_CLI/',
67
68
'exclude-functions' => array_merge($wp_functions, [
69
'/^wc/',
70
71
72
73
'expose-global-constants' => false, // bool
0 commit comments