From 31621be0375d6b62b0d05c517fd00ad32d94d5ed Mon Sep 17 00:00:00 2001 From: Eric Stern Date: Fri, 30 Aug 2024 10:25:51 -0700 Subject: [PATCH] Update to only current+upcoming PHP versions (#46) Drops 7.4+8.0 and a polyfill dependency to support them. --- .github/workflows/test.yml | 3 +-- composer.json | 5 ++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d6225bb..678dc65 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,11 +20,10 @@ jobs: - 'high' - 'low' php: - - '7.4' - - '8.0' - '8.1' - '8.2' - '8.3' + - '8.4-dev' steps: - name: Check out code diff --git a/composer.json b/composer.json index 0590ffd..5252fd5 100644 --- a/composer.json +++ b/composer.json @@ -3,12 +3,11 @@ "description": "PHPUnit Doctrine mocking tools", "type": "library", "require": { - "php": "^7.4 || ^8.0", + "php": "^8.1", "doctrine/annotations": "^1.10 || ^2.0", "doctrine/collections": "^1.6.8 || ^2.0", "doctrine/orm": "^2.9", - "doctrine/persistence": "^1.3 || ^2.0 || ^3.0", - "symfony/polyfill-php80": "^1.20" + "doctrine/persistence": "^1.3 || ^2.0 || ^3.0" }, "require-dev": { "phpstan/phpstan": "^1.10",