From 10ce0acd98fd0dfa425a2de50802c70052bf47f2 Mon Sep 17 00:00:00 2001 From: Cees-Jan Kiewiet Date: Fri, 12 Jul 2024 07:37:32 +0200 Subject: [PATCH] Unlock PHP 8 --- composer.json | 2 +- composer.lock | 30 +++++++++++++++--------------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/composer.json b/composer.json index 3958397..5a3fa16 100644 --- a/composer.json +++ b/composer.json @@ -10,7 +10,7 @@ } ], "require": { - "php": "^7.0", + "php": "^8 || ^7", "wyrihaximus/simple-twig": "^2 || ^1" }, "config": { diff --git a/composer.lock b/composer.lock index d47cfd7..fc0cf4c 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": "a30ec9f0c49c152c998a745bfac1917e", + "content-hash": "01a4a2203542668817cb16b385632632", "packages": [ { "name": "symfony/polyfill-ctype", @@ -37,12 +37,12 @@ } }, "autoload": { - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - }, "files": [ "bootstrap.php" - ] + ], + "psr-4": { + "Symfony\\Polyfill\\Ctype\\": "" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -116,12 +116,12 @@ } }, "autoload": { - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - }, "files": [ "bootstrap.php" - ] + ], + "psr-4": { + "Symfony\\Polyfill\\Mbstring\\": "" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -257,12 +257,12 @@ }, "type": "library", "autoload": { - "psr-4": { - "WyriHaximus\\Twig\\": "src/" - }, "files": [ "src/functions_include.php" - ] + ], + "psr-4": { + "WyriHaximus\\Twig\\": "src/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -289,11 +289,11 @@ "prefer-stable": false, "prefer-lowest": false, "platform": { - "php": "^7.0" + "php": "^8 || ^7" }, "platform-dev": [], "platform-overrides": { "php": "7.0" }, - "plugin-api-version": "2.0.0" + "plugin-api-version": "2.6.0" }