From 2efedf0897d5ba6a2ba227649ee319b2681b26f2 Mon Sep 17 00:00:00 2001 From: Antoine Giasson Date: Mon, 21 Nov 2022 20:04:04 -0500 Subject: [PATCH] require php8.1 --- .github/workflows/php-security.yml | 2 +- .github/workflows/php.yml | 9 --------- composer.json | 4 ++-- composer.lock | 8 ++++---- 4 files changed, 7 insertions(+), 16 deletions(-) diff --git a/.github/workflows/php-security.yml b/.github/workflows/php-security.yml index a19b2a17..0257e22a 100644 --- a/.github/workflows/php-security.yml +++ b/.github/workflows/php-security.yml @@ -10,7 +10,7 @@ jobs: uses: equisoft-actions/php-workflows/.github/workflows/php-security.yml@v3 with: publish-reports: true - php-version: '7.4' + php-version: '8.1' extensions: pcov secrets: GPR_KEY: ${{ secrets.GPR_KEY }} diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 80c63b42..40b2be41 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -13,15 +13,6 @@ jobs: uses: equisoft-actions/php-workflows/.github/workflows/php-library.yml@v3 with: checks: phpunit,psalm - php-version: '7.4' - extensions: pcov - secrets: - GPR_KEY: ${{ secrets.GPR_KEY }} - - php-library-8-1: - uses: equisoft-actions/php-workflows/.github/workflows/php-library.yml@v3 - with: - checks: phpunit,psalm,qodana php-version: '8.1' extensions: pcov secrets: diff --git a/composer.json b/composer.json index fca0fbfd..bd30a402 100644 --- a/composer.json +++ b/composer.json @@ -21,7 +21,7 @@ } }, "require": { - "php": "^7.4 || ^8.1", + "php": "^8.1", "psr/log": "^1.0" }, "suggest": { @@ -42,7 +42,7 @@ }, "config": { "platform": { - "php": "7.4" + "php": "8.1" }, "allow-plugins": { "composer/package-versions-deprecated": true, diff --git a/composer.lock b/composer.lock index 51ba98cd..47e14524 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": "aaafabffbe427def7ab013b900d64c9f", + "content-hash": "8521602ccd3a9c2ec31583dc46f84ef7", "packages": [ { "name": "psr/log", @@ -5623,11 +5623,11 @@ "prefer-stable": false, "prefer-lowest": false, "platform": { - "php": "^7.4 || ^8.1" + "php": "^8.1" }, "platform-dev": [], "platform-overrides": { - "php": "7.4" + "php": "8.1" }, - "plugin-api-version": "2.3.0" + "plugin-api-version": "2.2.0" }