Skip to content

Commit 7bb674a

Browse files
authored
Fix PHPCS errors in Behat test files (#161)
1 parent a655e26 commit 7bb674a

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

‎features/checksum-plugin.feature‎

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,10 +115,13 @@ Feature: Validate checksums for WordPress plugins
115115
* Plugin Name: Hide Debug Bar plugin
116116
*/
117117
118-
add_filter( 'all_plugins', function( $all_plugins ) {
119-
unset( $all_plugins['debug-bar/debug-bar.php'] );
120-
return $all_plugins;
121-
} );
118+
add_filter(
119+
'all_plugins',
120+
function ( $all_plugins ) {
121+
unset( $all_plugins['debug-bar/debug-bar.php'] );
122+
return $all_plugins;
123+
}
124+
);
122125
"""
123126
And "Debug Bar" replaced with "Different Name" in the wp-content/plugins/debug-bar/debug-bar.php file
124127

0 commit comments

Comments
 (0)