Skip to content

Commit d8ec417

Browse files
authored
Fix PHPCS errors in Behat test files (#188)
1 parent 9ba1e3e commit d8ec417

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

‎features/language-core.feature‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -341,9 +341,12 @@ Feature: Manage core translation files for a WordPress install
341341
And a disable_sidebar_check.php file:
342342
"""
343343
<?php
344-
WP_CLI::add_wp_hook( 'init', static function () {
345-
remove_action( 'after_switch_theme', '_wp_sidebars_changed' );
346-
} );
344+
WP_CLI::add_wp_hook(
345+
'init',
346+
static function () {
347+
remove_action( 'after_switch_theme', '_wp_sidebars_changed' );
348+
}
349+
);
347350
"""
348351

349352
When I run `wp language core install de_DE --activate --require=disable_sidebar_check.php`

0 commit comments

Comments
 (0)