From a4392b6aa87f684d52a693b56af7553f0787d4c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Mon, 12 Dec 2022 23:05:13 +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 93a84a04..3a98c9ca 100644 --- a/composer.json +++ b/composer.json @@ -15,7 +15,7 @@ "source": "https://github.com/ergebnis/php-cs-fixer-config" }, "require": { - "php": "^8.0", + "php": "~8.0.0 || ~8.1.0 || ~8.2.0", "ext-filter": "*", "friendsofphp/php-cs-fixer": "~3.13.0" }, diff --git a/composer.lock b/composer.lock index 49456dfa..d29407f9 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": "be3aac9b9e97e5e35fe5baa749e24d00", + "content-hash": "6f0da64542cd958db95aaecf12e32c46", "packages": [ { "name": "composer/pcre", @@ -5232,7 +5232,7 @@ "prefer-stable": false, "prefer-lowest": false, "platform": { - "php": "^8.0", + "php": "~8.0.0 || ~8.1.0 || ~8.2.0", "ext-filter": "*" }, "platform-dev": [],