From 528d0771ad9f0dca686bebcdc9d17ce5addf7a5e Mon Sep 17 00:00:00 2001 From: Erick Hitter <git-contrib@ethitter.com> Date: Sun, 26 May 2019 10:33:34 -0700 Subject: [PATCH] PHPCS --- tests/test-hooks.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test-hooks.php b/tests/test-hooks.php index 0f4eb7b..7b6cdae 100755 --- a/tests/test-hooks.php +++ b/tests/test-hooks.php @@ -72,10 +72,10 @@ class TestHooks extends WP_UnitTestCase { for ( $i = 0; $i < $iterations; $i++ ) { wp_update_post( - [ + array( 'ID' => $post_id, 'post_content' => wp_rand(), - ] + ) ); } -- GitLab