From 84000fed11f382b62d6440cb01d61b0669e8e60b Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 7 Aug 2021 11:02:02 +0000 Subject: [PATCH] Build/Test Tools: Handle removal of `TestCase::getAnnotations()`. The PHPUnit native `TestCase::getAnnotations()` method is used to check for WP flavored deprecation notices, however, this method was not covered by the backward compatibility promise for PHPUnit (and was annotated as excluded). The method has been removed as part of an internal refactor in commit [https://github.com/sebastianbergmann/phpunit/commit/68582043e149039cfa3596b42ed35753dcf54fb2 sebastianbergmann/phpunit@6858204], which is included in PHPUnit 9.5.0. For now, a workaround is put in place, but it is recommended that the WP `expectDeprecated()` method should be reevaluated in a future iteration. Follow-up to [51559-51571]. Props jrf. See #46149. Built from https://develop.svn.wordpress.org/trunk@51572 git-svn-id: http://core.svn.wordpress.org/trunk@51183 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/version.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/version.php b/wp-includes/version.php index 43f1a7f026..00eb29c37b 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.9-alpha-51571'; +$wp_version = '5.9-alpha-51572'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.