From af19fe7062013913ebbb8ba12629ce80d82fb311 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Sat, 16 Mar 2024 16:11:23 +0100 Subject: [PATCH] Drop PHP < 7.4 support This will allow us to use flexible heredocs in test, as well as typed properties and other goodies. https://www.php.net/releases/7_3_0.php https://www.php.net/releases/7_4_0.php --- .github/workflows/coding-standards.yml | 2 +- .github/workflows/continuous-integration.yml | 6 ++---- composer.json | 2 +- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/coding-standards.yml b/.github/workflows/coding-standards.yml index 005e568..62bcfee 100644 --- a/.github/workflows/coding-standards.yml +++ b/.github/workflows/coding-standards.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: php: - - "7.2" + - "7.4" steps: - name: "Checkout" diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 1522e2c..ed9a4fe 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -19,8 +19,6 @@ jobs: strategy: matrix: php: - - "7.2" - - "7.3" - "7.4" - "8.0" - "8.1" @@ -65,7 +63,7 @@ jobs: strategy: matrix: php: - - "7.4" + - "8.0" steps: - name: "Checkout" @@ -116,7 +114,7 @@ jobs: strategy: matrix: php: - - "7.2" + - "7.4" steps: - name: "Checkout" diff --git a/composer.json b/composer.json index 254c04d..dd26256 100644 --- a/composer.json +++ b/composer.json @@ -24,7 +24,7 @@ "role": "Developer (original JS version)" }], "require": { - "php": ">=7.2.0", + "php": ">=7.4.0", "ext-mbstring": "*", "psr/log": "^1.0.1 || ^2.0 || ^3.0", "masterminds/html5": "^2.7"