From 1ee03da657575436f307df5e7ffc169a415c91d5 Mon Sep 17 00:00:00 2001 From: Sam Minnee Date: Fri, 14 Jun 2019 15:57:40 +1200 Subject: [PATCH] FIX: Fix PHPUnit operation on PHP 7.4 Fixes #9062 --- .travis.yml | 2 -- composer.json | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 980695fec..31f4a1cc7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -55,8 +55,6 @@ matrix: env: - DB=MYSQL - PHPUNIT_TEST=cms - allow_failures: - - php: 7.4snapshot before_script: # Extra $PATH diff --git a/composer.json b/composer.json index b754abe16..e91753bd7 100644 --- a/composer.json +++ b/composer.json @@ -55,6 +55,7 @@ }, "require-dev": { "phpunit/phpunit": "^5.7", + "sminnee/phpunit-mock-objects": "^3.4.5", "silverstripe/versioned": "^1" }, "provide": {