summaryrefslogtreecommitdiffstatshomepage
path: root/tests/phpunit/includes/phpunit7/MockObject/Builder/ParametersMatch.php
Commit message (Collapse)AuthorAge
* Build/Test Tools: Remove the copied-in PHPUnit 9.x MockObject files.Sergey Biryukov2021-08-07
| | | | | | | | | | | As the version constraints for PHPUnit now allow the tests to be run on PHPUnit 8.x and 9.x, these files are no longer needed. Follow-up to [48957], [49037], [51544], [51559-51574]. Props jrf. See #46149. git-svn-id: https://develop.svn.wordpress.org/trunk@51575 602fd350-edb4-49c9-b593-d223f7449a82
* Tests: Backport two changes from PHPUnit 9.3:Sergey Biryukov2020-09-23
* Replace the `Match` interface with `ParametersMatch`, to avoid parse errors due to `match` being a reserved keyword in PHP 8. * Replace `ReflectionParameter::getClass()` usage, which is deprecated in PHP 8. This allows tests relying on the `getMockForAbstractClass()` and `getMockBuilder()` methods to run again on PHP 8. When the test suite is updated for compatibility with PHPUnit 9.x, these overrides can be removed. Follow-up to [48972]. See #50913, #50902. git-svn-id: https://develop.svn.wordpress.org/trunk@49037 602fd350-edb4-49c9-b593-d223f7449a82