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 ) { diff --git a/phpcs.xml b/phpcs.xml index c885361..918ac40 100644 --- a/phpcs.xml +++ b/phpcs.xml @@ -10,6 +10,11 @@ + + + + + 0