From a9a507252fb9607b49b9528f215b6d1b58c2c548 Mon Sep 17 00:00:00 2001 From: Jeremy Herve Date: Thu, 16 Nov 2023 19:40:28 +0100 Subject: [PATCH] Update PHPUnit version in docs. Co-authored-by: Brad Jorsch --- docs/monorepo.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/monorepo.md b/docs/monorepo.md index 0619bef25983a..33943fd5ae238 100644 --- a/docs/monorepo.md +++ b/docs/monorepo.md @@ -218,7 +218,7 @@ For all project types other than WordPress plugins, the necessary version of PHP We currently make use of the following packages in testing; it's encouraged to use these rather than introducing other tools that serve the same purpose. -* [yoast/phpunit-polyfills](https://packagist.org/packages/yoast/phpunit-polyfills) supplies polyfills for compatibility with PHPUnit 5.7 to 9.0, to support PHP 7.0 to 8.2. +* [yoast/phpunit-polyfills](https://packagist.org/packages/yoast/phpunit-polyfills) supplies polyfills for compatibility with PHPUnit 6.5 to 9.0, to support PHP 7.0 to 8.2. * Do not use `Yoast\PHPUnitPolyfills\TestCases\TestCase` or `Yoast\PHPUnitPolyfills\TestCases\XTestCase`. Just use the `@before`, `@after`, `@beforeClass`, and `@afterClass` annotations directly. * PHPUnit's built-in mocking is used for class mocks. * [brain/monkey](https://packagist.org/packages/brain/monkey) is used for mocking functions, and can also provide some functions for minimal WordPress compatibility.