From 52c020a268d1c1c68b94f87d9cc6a90484b8fdfc Mon Sep 17 00:00:00 2001 From: Anton Ukhanev Date: Wed, 30 Aug 2023 17:42:40 +0200 Subject: [PATCH] Drop PHP < 7.4 --- .github/workflows/continuous-integration.yml | 3 --- .idea/php.xml | 2 +- composer.json | 4 ++-- composer.lock | 4 ++-- 4 files changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 0508d52..d401c62 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -6,9 +6,6 @@ jobs: strategy: matrix: php-versions: - - '7.1' - - '7.2' - - '7.3' - '7.4' - '8.0' - '8.1' diff --git a/.idea/php.xml b/.idea/php.xml index df98a3a..044e741 100644 --- a/.idea/php.xml +++ b/.idea/php.xml @@ -207,7 +207,7 @@ - + diff --git a/composer.json b/composer.json index 0dedb3d..0e4cd98 100644 --- a/composer.json +++ b/composer.json @@ -11,7 +11,7 @@ } ], "require": { - "php": ">7.1", + "php": "^7.4 | ^8.0", "psr/simple-cache": "^1.0" }, "require-dev": { @@ -19,7 +19,7 @@ "johnpbloch/wordpress-core": "^5.0", "php-stubs/wordpress-stubs": "6.3", "brain/monkey": "^2.3", - "vimeo/psalm": "^4.0 | ^5.0", + "vimeo/psalm": "^5.0", "slevomat/coding-standard": "^6.0" }, "autoload": { diff --git a/composer.lock b/composer.lock index a859872..20bbaf1 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": "63b7b0421bf985cbe9af34b131503323", + "content-hash": "8372ea5cd698a5ee3328c628205a5c4b", "packages": [ { "name": "psr/simple-cache", @@ -4434,7 +4434,7 @@ "prefer-stable": false, "prefer-lowest": false, "platform": { - "php": ">7.1" + "php": "^7.4 | ^8.0" }, "platform-dev": [], "plugin-api-version": "2.3.0"