From 105a10cafc6b5c6e37d326b336daec06a7d2cc90 Mon Sep 17 00:00:00 2001 From: jrfnl Date: Fri, 8 Dec 2023 19:29:17 +0100 Subject: [PATCH] DeprecatedFunctionsUnitTest: remove work-around for PHPCS bug ... as the bug is now fixed. --- WordPress/Tests/WP/DeprecatedFunctionsUnitTest.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/WordPress/Tests/WP/DeprecatedFunctionsUnitTest.php b/WordPress/Tests/WP/DeprecatedFunctionsUnitTest.php index f12b805780..b3e66f34b0 100644 --- a/WordPress/Tests/WP/DeprecatedFunctionsUnitTest.php +++ b/WordPress/Tests/WP/DeprecatedFunctionsUnitTest.php @@ -76,11 +76,6 @@ public function getErrorList() { $errors[361] ); - // Temporarily until PHPCS supports PHP 8.2. - if ( \PHP_VERSION_ID >= 80200 ) { - unset( $errors[360] ); // Function call to readonly. - } - return $errors; }