From 2bf57fe242d30a36ef2ac7ea5dab251f4aca7128 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Anne?= Date: Fri, 26 Jul 2024 13:47:54 +0200 Subject: [PATCH] Change min PHP requirement to 7.1.x --- .github/workflows/test-unit.yml | 2 +- composer.json | 4 ++-- composer.lock | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test-unit.yml b/.github/workflows/test-unit.yml index 8bf5836..a447ea1 100644 --- a/.github/workflows/test-unit.yml +++ b/.github/workflows/test-unit.yml @@ -11,7 +11,7 @@ jobs: strategy: matrix: operating-system: [ 'ubuntu-latest' ] - php-versions: [ '5.6', '7.0', '7.1', '7.2', '7.3', '8.0', '8.1', '8.2', '8.3', '8.4' ] + php-versions: [ '7.1', '7.2', '7.3', '8.0', '8.1', '8.2', '8.3', '8.4' ] steps: - name: Checkout uses: actions/checkout@v4 diff --git a/composer.json b/composer.json index 6af9eb7..decb09f 100644 --- a/composer.json +++ b/composer.json @@ -3,7 +3,7 @@ "description": "High definition PHP structures with JSON-schema based validation", "type": "library", "require": { - "php": ">=5.4", + "php": ">=7.1", "ext-json": "*", "phplang/scope-exit": "^1.0", "swaggest/json-diff": "^3.8.2", @@ -35,7 +35,7 @@ }, "config": { "platform": { - "php": "5.4.45" + "php": "7.1.33" } }, "suggest": { diff --git a/composer.lock b/composer.lock index 3cc41ea..f27811f 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": "f85c752aa7be87c0a9ba169493adbeba", + "content-hash": "cc266b32b15203be9de99c8ffa8c5740", "packages": [ { "name": "phplang/scope-exit", @@ -1310,12 +1310,12 @@ "prefer-stable": true, "prefer-lowest": false, "platform": { - "php": ">=5.4", + "php": ">=7.1", "ext-json": "*" }, "platform-dev": [], "platform-overrides": { - "php": "5.4.45" + "php": "7.1.33" }, - "plugin-api-version": "2.2.0" + "plugin-api-version": "2.6.0" }