From 9cc67ecf7733e4a2ebb0a4609f72d0f543ee0ff2 Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Tue, 9 Nov 2021 17:43:11 +1300 Subject: [PATCH] API phpunit 9 support --- .travis.yml | 1 + composer.json | 3 ++- phpunit.xml.dist | 12 +++++++----- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index ddbc79d..41f647d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,4 +5,5 @@ import: env: global: + - REQUIRE_EXTRA="silverstripe/gridfieldqueuedexport:^2 symbiote/silverstripe-queuedjobs:^4" - PHPUNIT_SUITE="recipe-form-building" diff --git a/composer.json b/composer.json index 0c08f0b..845e878 100644 --- a/composer.json +++ b/composer.json @@ -5,13 +5,14 @@ "homepage": "https://www.silverstripe.org", "license": "BSD-3-Clause", "require": { + "php": "^7.3 || ^8.0", "silverstripe/recipe-plugin": "^1", "silverstripe/recipe-cms": "4.x-dev", "silverstripe/segment-field": "2.x-dev", "silverstripe/userforms": "5.x-dev" }, "require-dev": { - "sminnee/phpunit": "^5.7" + "phpunit/phpunit": "^9.5" }, "suggest": { "silverstripe/gridfieldqueuedexport": "Export large data sets from your GridField in the SilverStripe CMS interface through async jobs", diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 0af2481..b11881b 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,7 +1,9 @@ - - vendor/silverstripe/segment-field/tests - vendor/silverstripe/userforms/tests - vendor/symbiote/silverstripe-queuedjobs/tests - + + + vendor/silverstripe/segment-field/tests + vendor/silverstripe/userforms/tests + vendor/symbiote/silverstripe-queuedjobs/tests + +