From e1d17f4f99fc996e49d573a1f0dac36dcb77657c Mon Sep 17 00:00:00 2001
From: jrfnl <jrfnl@users.noreply.github.com>
Date: Tue, 20 Jul 2021 15:23:34 +0200
Subject: [PATCH] CS: remove redundant semicolons
---
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
|
b
|
function wp_init_targeted_link_rel_filters() { |
3265 | 3265 | |
3266 | 3266 | foreach ( $filters as $filter ) { |
3267 | 3267 | add_filter( $filter, 'wp_targeted_link_rel' ); |
3268 | | }; |
| 3268 | } |
3269 | 3269 | } |
3270 | 3270 | |
3271 | 3271 | /** |
… |
… |
function wp_remove_targeted_link_rel_filters() { |
3288 | 3288 | |
3289 | 3289 | foreach ( $filters as $filter ) { |
3290 | 3290 | remove_filter( $filter, 'wp_targeted_link_rel' ); |
3291 | | }; |
| 3291 | } |
3292 | 3292 | } |
3293 | 3293 | |
3294 | 3294 | /** |
diff --git a/tests/phpunit/includes/utils.php b/tests/phpunit/includes/utils.php
index 7a0de67377..e37c3c15d6 100644
a
|
b
|
function gen_tests_array( $name, $array ) { |
378 | 378 | /** |
379 | 379 | * Use to create objects by yourself |
380 | 380 | */ |
381 | | class MockClass {}; |
| 381 | class MockClass {} |
382 | 382 | |
383 | 383 | /** |
384 | 384 | * Drops all tables from the WordPress database |