diff --git a/composer.json b/composer.json index e4f1ed9..ff5fd98 100644 --- a/composer.json +++ b/composer.json @@ -24,11 +24,11 @@ ], "require": { "dragonmantank/cron-expression": "^3", - "silverstripe/framework": "^4", - "php": "^7.1 || ^8" + "silverstripe/framework": "^4.10", + "php": "^7.3 || ^8" }, "require-dev": { - "sminnee/phpunit": "^5.7", + "phpunit/phpunit": "^9.5", "squizlabs/php_codesniffer": "^3.0" }, "extra": { diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 5c03f53..c9b1080 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,8 +1,10 @@ - - tests/ - + + + tests/ + + diff --git a/tests/CronTaskControllerTest.php b/tests/CronTaskControllerTest.php index 1d0559d..6fd1634 100644 --- a/tests/CronTaskControllerTest.php +++ b/tests/CronTaskControllerTest.php @@ -24,7 +24,7 @@ class CronTaskControllerTest extends FunctionalTest /** * {@inheritDoc} */ - protected function setUp() + protected function setUp(): void { parent::setUp(); CronTaskTest\TestCron::$times_run = 0;