From d6ee6c64b560ace1dc1a794e6828ef826ef47f58 Mon Sep 17 00:00:00 2001 From: Danny van der Sluijs Date: Tue, 30 Jul 2024 19:54:49 +0200 Subject: [PATCH 1/3] ci: Add PHP 8.0 and greater to build matrix --- .github/workflows/continuous-integration.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index a72829ed..801c2f7a 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -26,7 +26,10 @@ jobs: - "7.2" - "7.3" - "7.4" -# - "8.0" + - "8.0" + - "8.1" + - "8.2" + - "8.3" dependencies: [highest] experimental: [false] include: From 660517f08d8811e64ece78ca7e210b46e5fc8da1 Mon Sep 17 00:00:00 2001 From: Danny van der Sluijs Date: Tue, 30 Jul 2024 20:31:10 +0200 Subject: [PATCH 2/3] ci: Remove PHP 5.3 - 7.1 from workflows --- .github/workflows/continuous-integration.yml | 10 ++-------- .github/workflows/lint.yml | 2 +- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 801c2f7a..e45c7726 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -17,12 +17,6 @@ jobs: strategy: matrix: php-version: - - "5.3" - - "5.4" - - "5.5" - - "5.6" - - "7.0" - - "7.1" - "7.2" - "7.3" - "7.4" @@ -33,10 +27,10 @@ jobs: dependencies: [highest] experimental: [false] include: - - php-version: "5.3" + - php-version: "7.2" dependencies: highest experimental: false - - php-version: "5.3" + - php-version: "7.2" dependencies: lowest experimental: false # - php-version: "8.0" diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index d61f8c46..e16034f2 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: php-version: - - "5.3" + - "7.2" - "latest" steps: From 75497a05c220d7dfcdd5d7e7a0542c20a8a9503c Mon Sep 17 00:00:00 2001 From: Danny van der Sluijs Date: Tue, 30 Jul 2024 20:32:40 +0200 Subject: [PATCH 3/3] build: Require minimum PHP 7.2 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 827cff0d..15442d78 100644 --- a/composer.json +++ b/composer.json @@ -27,7 +27,7 @@ } ], "require": { - "php": ">=5.3.3", + "php": "^7.2 || ^8.0", "marc-mabe/php-enum":"^2.0 || ^3.0 || ^4.0", "icecave/parity": "1.0.0" },