summaryrefslogtreecommitdiffstatshomepage
path: root/tests/phpunit/includes/phpunit7/MockObject/MockMethod.php
diff options
context:
space:
mode:
authorSergey Biryukov <sergeybiryukov@git.wordpress.org>2021-08-07 11:41:53 +0000
committerSergey Biryukov <sergeybiryukov@git.wordpress.org>2021-08-07 11:41:53 +0000
commit8def694fe4c5df95f8e20e40389faf9cb92b6dca (patch)
tree915fa153d42db3f8a291522b0ce5b1a73e0a7d2d /tests/phpunit/includes/phpunit7/MockObject/MockMethod.php
parentaae784273f922d7434ed2a0bf5e032ec7133bdc4 (diff)
downloadwordpress-8def694fe4c5df95f8e20e40389faf9cb92b6dca.tar.gz
wordpress-8def694fe4c5df95f8e20e40389faf9cb92b6dca.zip
Build/Test Tools: Loosen the PHPUnit restriction.
**composer.json**: Remove the PHPUnit dependency in favor of allowing the PHPUnit Polyfills library to manage the supported PHPUnit version. This automatically now widens the supported PHPUnit versions to 5.7.21 to 9.5.8 (current). Letting the PHPUnit Polyfills handle the version constraints for PHPUnit prevents potential version conflicts in the future, as well as allows WordPress to benefit straight away when a new PHPUnit version would be released and the PHPUnit Polyfills package adds support for that PHPUnit version. **Test Bootstrap** Update the supported version number for PHPUnit 5.x, as the minimum PHPUnit 5.x version supported by the PHPUnit Polyfills is PHPUnit 5.7.21, and remove the PHPUnit maximum. **.gitignore and svn:ignore:** Add the PHPUnit cache file to the list of files to be ignored. Since PHPUnit 8, PHPUnit has a built-in caching feature which creates a `.phpunit.result.cache` file. This file should not be committed. Follow-up to [40536], [40853], [44701], [51559-51573]. Props jrf. See #46149. git-svn-id: https://develop.svn.wordpress.org/trunk@51574 602fd350-edb4-49c9-b593-d223f7449a82
Diffstat (limited to 'tests/phpunit/includes/phpunit7/MockObject/MockMethod.php')
0 files changed, 0 insertions, 0 deletions