From 2bfd2c5da95137c036a805aefc2fbd3f8b9ce82a Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 5 Aug 2021 13:14:21 +0000 Subject: [PATCH] Coding Standards: Remove redundant semicolons after closing curly brackets. Props jrf. See #53359. git-svn-id: https://develop.svn.wordpress.org/trunk@51552 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/formatting.php | 4 ++-- tests/phpunit/includes/utils.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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