From 9c957b0e6650ceec88cbead9420d02c778d430a1 Mon Sep 17 00:00:00 2001 From: Brandon Kraft Date: Tue, 19 Apr 2022 13:25:14 -0500 Subject: [PATCH] Fix PHPCS --- composer.json | 5 ++++- features/jetpack-beta.php | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index cf9cd75..26a979b 100644 --- a/composer.json +++ b/composer.json @@ -17,6 +17,9 @@ "test": "vendor/bin/phpunit" }, "config": { - "sort-packages": true + "sort-packages": true, + "allow-plugins": { + "dealerdirect/phpcodesniffer-composer-installer": true + } } } diff --git a/features/jetpack-beta.php b/features/jetpack-beta.php index cdd47e3..23d7466 100644 --- a/features/jetpack-beta.php +++ b/features/jetpack-beta.php @@ -75,7 +75,7 @@ function ( &$app = null, $features, $domain ) use ( $defaults ) { if ( $features['branches'] ) { foreach ( $features['branches'] as $plugin_name => $branch_name ) { - if ( $plugin_name === 'jetpack' && isset( $features['jetpack'] ) && $features['jetpack'] === false ) { + if ( $plugin_name === 'jetpack' && isset( $features['jetpack'] ) && $features['jetpack'] === false ) { continue; } if ( $branch_name ) {