Skip to content
This repository has been archived by the owner on Sep 6, 2024. It is now read-only.

Commit

Permalink
Fix PHPCS
Browse files Browse the repository at this point in the history
  • Loading branch information
kraftbj committed Apr 19, 2022
1 parent c0efd55 commit 9c957b0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
"test": "vendor/bin/phpunit"
},
"config": {
"sort-packages": true
"sort-packages": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}
2 changes: 1 addition & 1 deletion features/jetpack-beta.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 ) {
Expand Down

0 comments on commit 9c957b0

Please sign in to comment.