phpcs for bootstrap.php

This commit is contained in:
Ron Rennick 2019-02-14 19:04:30 -04:00
parent 58cfde18a4
commit 7910e76d8c
1 changed files with 1 additions and 1 deletions

View File

@ -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;