Tests: Replace the native PHPUnit `getMockForAbstractClass()` and `getMockBuilder()` methods.

This avoids parse errors in PHPUnit internals due to `match` being a reserved keyword in PHP 8.

To run on PHP 8, the tests relying on these methods require PHPUnit 9.3 or later.

When the test suite is updated for compatibility with PHPUnit 9.x, these overrides can be removed.

See #50913, #50902.
Built from https://develop.svn.wordpress.org/trunk@48972


git-svn-id: http://core.svn.wordpress.org/trunk@48734 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2020-09-13 02:38:07 +00:00
parent 282c813259
commit a2947f7054
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.6-alpha-48971';
$wp_version = '5.6-alpha-48972';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.