Wordpress/tests/phpunit/includes/phpunit7
Sergey Biryukov 1a89e63838 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.

git-svn-id: https://develop.svn.wordpress.org/trunk@48972 602fd350-edb4-49c9-b593-d223f7449a82
2020-09-13 02:36:48 +00:00
..
speed-trap-listener.php
testcase.php Tests: Replace the native PHPUnit `getMockForAbstractClass()` and `getMockBuilder()` methods. 2020-09-13 02:36:48 +00:00