From 329fcfd70067196b630cdda11a08db59c39c9fd3 Mon Sep 17 00:00:00 2001 From: Maxime Rainville Date: Mon, 15 Jul 2019 13:34:08 +1200 Subject: [PATCH] DOC Add a note about our PHP 7.4 fork of phpunit/phpunit-mock-objects --- docs/en/04_Changelogs/3.7.3.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/en/04_Changelogs/3.7.3.md b/docs/en/04_Changelogs/3.7.3.md index 103b88c8a..ffa8524a3 100644 --- a/docs/en/04_Changelogs/3.7.3.md +++ b/docs/en/04_Changelogs/3.7.3.md @@ -1,5 +1,20 @@ # 3.7.3 +* [Minor update to support PHP 7.4](https://github.com/silverstripe/silverstripe-framework/pull/9110) + +# Running SilverStripe 3.7 on PHP 7.4 + +SilverStripe's standard test tools require `phpunit/phpunit-mock-objects` to run. This package has been deprecated and doesn't support PHP 7.4. + +SilverStripe is using a fork, `sminnee/phpunit-mock-objects`, for its own PHP 7.4 tests. + +You can use this fork for your own project by running this command: +```bash +composer require --dev sminnee/phpunit-mock-objects:^3.4.7 +``` + +This fork is not a supported module and SilverStripe does not commit to maintaining it. + ## Change Log