diff --git a/src/wp-includes/formatting.php b/src/wp-includes/formatting.php index 238bcc738c..9fc4e185d6 100644 --- a/src/wp-includes/formatting.php +++ b/src/wp-includes/formatting.php @@ -3265,7 +3265,7 @@ function wp_init_targeted_link_rel_filters() { foreach ( $filters as $filter ) { add_filter( $filter, 'wp_targeted_link_rel' ); - }; + } } /** @@ -3288,7 +3288,7 @@ function wp_remove_targeted_link_rel_filters() { foreach ( $filters as $filter ) { remove_filter( $filter, 'wp_targeted_link_rel' ); - }; + } } /** diff --git a/tests/phpunit/includes/utils.php b/tests/phpunit/includes/utils.php index 7a0de67377..e37c3c15d6 100644 --- a/tests/phpunit/includes/utils.php +++ b/tests/phpunit/includes/utils.php @@ -378,7 +378,7 @@ function gen_tests_array( $name, $array ) { /** * Use to create objects by yourself */ -class MockClass {}; +class MockClass {} /** * Drops all tables from the WordPress database