phpcs for bootstrap.php
This commit is contained in:
parent
58cfde18a4
commit
7910e76d8c
|
@ -116,7 +116,7 @@ require_once dirname( __FILE__ ) . '/framework/helpers/class-wc-helper-queue.php
|
|||
* This matches how we mock the flags in jest.
|
||||
*/
|
||||
function wc_admin_get_feature_config() {
|
||||
$config = json_decode( file_get_contents( dirname( dirname( __FILE__ ) ) . '/config/development.json' ) );
|
||||
$config = json_decode( file_get_contents( dirname( dirname( __FILE__ ) ) . '/config/development.json' ) ); // @codingStandardsIgnoreLine.
|
||||
$flags = array();
|
||||
foreach ( $config->features as $feature => $bool ) {
|
||||
$flags[ $feature ] = $bool;
|
||||
|
|
Loading…
Reference in New Issue