From 42fd2af9437bfa06b2a90f70c2b3724da9fdb6a0 Mon Sep 17 00:00:00 2001 From: Vishal Khode Date: Tue, 22 Oct 2024 11:24:28 +0530 Subject: [PATCH] Update PHP requirements. --- .github/workflows/ci.yml | 7 +------ README.md | 2 +- composer.json | 2 +- composer.lock | 4 ++-- 4 files changed, 5 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f71f0cb..ab932eb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,6 @@ on: - README.md pull_request: branches: - - 1.x - 1.0.x paths-ignore: - README.md @@ -23,11 +22,7 @@ jobs: matrix: include: - os: "ubuntu-latest" - php: "8.1" - env: 'HIGHEST_LOWEST="update --prefer-lowest"' - coverage: "none" - - os: "ubuntu-latest" - php: "8.3" + php: "7.4" env: 'HIGHEST_LOWEST="update"' coverage: "pcov" diff --git a/README.md b/README.md index b448ee6..b097470 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ contributed modules/themes, this library offers a simple API to access such data - Resolve different Drupal core versions, including the current version, development versions, and next minor versions. ### Requirements -- **PHP 8.1** and above. +- **PHP 7.4**. - **Composer** for installation. - Internet access to query data from drupal.org. diff --git a/composer.json b/composer.json index 76b6c73..8b90eb7 100644 --- a/composer.json +++ b/composer.json @@ -16,7 +16,7 @@ ], "homepage": "https://github.com/vishalkhode1/version-resolver", "require": { - "php": ">=7.4", + "php": "^7.4", "guzzlehttp/guzzle": "^7.9", "hassankhan/config": "^3.1" }, diff --git a/composer.lock b/composer.lock index b717370..5432709 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": "80ea7a5c46bc5887d43ea900562fcc07", + "content-hash": "524ba7007e9ea213a2ed09dab7f7fafa", "packages": [ { "name": "guzzlehttp/guzzle", @@ -6521,7 +6521,7 @@ "prefer-stable": false, "prefer-lowest": false, "platform": { - "php": ">=7.4" + "php": "^7.4" }, "platform-dev": [], "plugin-api-version": "2.6.0"