From b05fefc9d25fc961b187f4f46ecd69e16aa3f823 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Mon, 12 Dec 2022 23:02:06 +0100 Subject: [PATCH] Fix: Use ~ operator to limit compatibility with PHP versions --- composer.json | 2 +- composer.lock | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index a91edfbc..b4f71616 100644 --- a/composer.json +++ b/composer.json @@ -20,7 +20,7 @@ "source": "https://github.com/ergebnis/json-printer" }, "require": { - "php": "^8.0", + "php": "~8.0.0 || ~8.1.0 || ~8.2.0", "ext-json": "*", "ext-mbstring": "*" }, diff --git a/composer.lock b/composer.lock index b09a3bf9..1103ca95 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": "0c9ba121f2e7fbdecaf0e3254dfd669d", + "content-hash": "87aa07a09c269685882a255562b6b883", "packages": [], "packages-dev": [ { @@ -5552,7 +5552,7 @@ "prefer-stable": false, "prefer-lowest": false, "platform": { - "php": "^8.0", + "php": "~8.0.0 || ~8.1.0 || ~8.2.0", "ext-json": "*", "ext-mbstring": "*" },