There was an error while loading. Please reload this page.
1 parent fa08eb1 commit 6fcf2d6Copy full SHA for 6fcf2d6
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