From 45e9cb7066cadf6eec00db8037bfd64559f8a743 Mon Sep 17 00:00:00 2001 From: Jonathan Desrosiers Date: Tue, 9 Jun 2020 22:40:50 +0000 Subject: [PATCH] Coding Standards: Cleans up some PHPCS issues introduced in [47938]. See #20875. git-svn-id: https://develop.svn.wordpress.org/trunk@47942 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/load.php | 2 +- tests/phpunit/tests/cache.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/load.php b/src/wp-includes/load.php index 9023932e94..b12a9c458f 100644 --- a/src/wp-includes/load.php +++ b/src/wp-includes/load.php @@ -628,7 +628,7 @@ function wp_start_object_cache() { require_once ABSPATH . WPINC . '/cache.php'; } - require_once( ABSPATH . WPINC . '/cache-compat.php' ); + require_once ABSPATH . WPINC . '/cache-compat.php'; /* * If cache supports reset, reset instead of init if already diff --git a/tests/phpunit/tests/cache.php b/tests/phpunit/tests/cache.php index 652df1c856..b902d33b2e 100644 --- a/tests/phpunit/tests/cache.php +++ b/tests/phpunit/tests/cache.php @@ -324,7 +324,7 @@ class Tests_Cache extends WP_UnitTestCase { wp_cache_set( 'foo2', 'bar', 'group1' ); wp_cache_set( 'foo1', 'bar', 'group2' ); - $found = wp_cache_get_multiple( array( 'foo1', 'foo2', 'foo3', ), 'group1' ); + $found = wp_cache_get_multiple( array( 'foo1', 'foo2', 'foo3' ), 'group1' ); $expected = array( 'foo1' => 'bar',