From c92ad68c0cc8de350ddab980ff93fc69ae9f0a2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Thu, 1 Dec 2022 12:02:14 +0100 Subject: [PATCH] Fix: Drop support for PHP 7.4 --- .github/settings.yml | 13 +++++-------- .github/workflows/integrate.yaml | 11 +++++------ .github/workflows/release.yaml | 2 +- .github/workflows/renew.yaml | 2 +- .github/workflows/update.yaml | 2 +- CHANGELOG.md | 2 ++ composer.json | 4 ++-- composer.lock | 6 +++--- 8 files changed, 20 insertions(+), 22 deletions(-) diff --git a/.github/settings.yml b/.github/settings.yml index 6535c89d..4e04a9be 100644 --- a/.github/settings.yml +++ b/.github/settings.yml @@ -14,14 +14,11 @@ branches: required_approving_review_count: 1 required_status_checks: contexts: - - "Code Coverage (7.4, locked)" - - "Coding Standards (7.4, locked)" - - "Compile Phar (7.4, locked)" - - "Dependency Analysis (7.4, locked)" - - "Static Code Analysis (7.4, locked)" - - "Tests (7.4, highest)" - - "Tests (7.4, locked)" - - "Tests (7.4, lowest)" + - "Code Coverage (8.0, locked)" + - "Coding Standards (8.0, locked)" + - "Compile Phar (8.0, locked)" + - "Dependency Analysis (8.0, locked)" + - "Static Code Analysis (8.0, locked)" - "Tests (8.0, highest)" - "Tests (8.0, locked)" - "Tests (8.0, lowest)" diff --git a/.github/workflows/integrate.yaml b/.github/workflows/integrate.yaml index 281dd3a3..9a00507f 100644 --- a/.github/workflows/integrate.yaml +++ b/.github/workflows/integrate.yaml @@ -17,7 +17,7 @@ jobs: strategy: matrix: php-version: - - "7.4" + - "8.0" dependencies: - "locked" @@ -72,7 +72,7 @@ jobs: strategy: matrix: php-version: - - "7.4" + - "8.0" dependencies: - "locked" @@ -140,7 +140,7 @@ jobs: strategy: matrix: php-version: - - "7.4" + - "8.0" dependencies: - "locked" @@ -208,7 +208,7 @@ jobs: strategy: matrix: php-version: - - "7.4" + - "8.0" dependencies: - "locked" @@ -253,7 +253,7 @@ jobs: strategy: matrix: php-version: - - "7.4" + - "8.0" dependencies: - "locked" @@ -301,7 +301,6 @@ jobs: strategy: matrix: php-version: - - "7.4" - "8.0" - "8.1" diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index cb020a34..2558fbe4 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -16,7 +16,7 @@ jobs: strategy: matrix: php-version: - - "7.4" + - "8.0" dependencies: - "locked" diff --git a/.github/workflows/renew.yaml b/.github/workflows/renew.yaml index 2e720d88..3062cd9d 100644 --- a/.github/workflows/renew.yaml +++ b/.github/workflows/renew.yaml @@ -15,7 +15,7 @@ jobs: strategy: matrix: php-version: - - "7.4" + - "8.0" dependencies: - "locked" diff --git a/.github/workflows/update.yaml b/.github/workflows/update.yaml index af78465a..b338cb36 100644 --- a/.github/workflows/update.yaml +++ b/.github/workflows/update.yaml @@ -15,7 +15,7 @@ jobs: strategy: matrix: php-version: - - "7.4" + - "8.0" steps: - name: "Checkout" diff --git a/CHANGELOG.md b/CHANGELOG.md index a9ce70e9..4c81448d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ For a full diff see [`2.28.3...main`][2.28.3...main]. ### Changed - Updated `schema.json` ([#959]), by [@ergebnis-bot] +- Dropped support for PHP 7.4 ([#998]), by [@localheinz] ## [`2.28.3`][2.28.3] @@ -983,6 +984,7 @@ For a full diff see [`81bc3a8...0.1.0`][81bc3a8...0.1.0]. [#941]: https://github.com/ergebnis/composer-normalize/pull/941 [#942]: https://github.com/ergebnis/composer-normalize/pull/942 [#959]: https://github.com/ergebnis/composer-normalize/pull/959 +[#998]: https://github.com/ergebnis/composer-normalize/pull/998 [@core23]: https://github.com/core23 [@dependabot]: https://github.com/dependabot diff --git a/composer.json b/composer.json index 9540057e..b9caa45c 100644 --- a/composer.json +++ b/composer.json @@ -21,7 +21,7 @@ "source": "https://github.com/ergebnis/composer-normalize" }, "require": { - "php": "^7.4 || ^8.0", + "php": "^8.0", "composer-plugin-api": "^2.0.0", "ergebnis/json-normalizer": "~2.1.0", "ergebnis/json-printer": "^3.2.0", @@ -55,7 +55,7 @@ "composer/package-versions-deprecated": true }, "platform": { - "php": "7.4.26" + "php": "8.0.25" }, "preferred-install": "dist", "sort-packages": true diff --git a/composer.lock b/composer.lock index 9cdd31f8..660f706e 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "0b06b826f3544a99b3925e725363b69b", + "content-hash": "bb0e369b4bf2d37e68c1d9cedae206bc", "packages": [ { "name": "ergebnis/json-normalizer", @@ -5744,12 +5744,12 @@ "prefer-stable": true, "prefer-lowest": false, "platform": { - "php": "^7.4 || ^8.0", + "php": "^8.0", "composer-plugin-api": "^2.0.0" }, "platform-dev": [], "platform-overrides": { - "php": "7.4.26" + "php": "8.0.25" }, "plugin-api-version": "2.3.0" }