From cb72b73e42c6b69a174c5d2fbef3fdc51fa9164e Mon Sep 17 00:00:00 2001 From: Maxence Date: Mon, 3 Jun 2024 18:36:22 +0200 Subject: [PATCH] set minimum php version requirement to 8.0 --- .github/workflows/ci.yml | 8 ++++---- composer.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2e4ab1d..6483566 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,11 +37,11 @@ jobs: name: Unit tests strategy: matrix: - php: [ 8.0, 8.1, 8.2 ] + php: [ 8.1, 8.2 ] os: [ ubuntu-latest ] include: - os: [ ubuntu-latest ] - php: 7.4 + php: 8.0 composer-flag: "'--prefer-lowest'" runs-on: ${{ matrix.os }} @@ -72,11 +72,11 @@ jobs: name: Functionnal tests strategy: matrix: - php: [ 8.0, 8.1, 8.2 ] + php: [ 8.1, 8.2 ] os: [ ubuntu-latest ] include: - os: [ ubuntu-latest ] - php: 7.4 + php: 8.0 composer-flag: "'--prefer-lowest'" runs-on: ${{ matrix.os }} diff --git a/composer.json b/composer.json index 72c88f7..eaf62fd 100644 --- a/composer.json +++ b/composer.json @@ -8,7 +8,7 @@ "post-install-cmd": "make hooks.install" }, "require": { - "php": ">=7.3", + "php": ">=8.0", "nekland/tools": "^2.5.1", "symfony/event-dispatcher": "^5.3 || ^6.0 || 7.0.8", "pagerfanta/pagerfanta": "^2.0.1 || ^3.0.0",