From 0f38a677b12b280f9740d05433198e73be0849af Mon Sep 17 00:00:00 2001 From: slawkens Date: Fri, 11 Aug 2023 22:20:00 +0200 Subject: [PATCH] Require PHP min 8.0, older versions are EOL --- README.md | 2 +- common.php | 2 +- composer.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 127892a1..3597df17 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ Official website: https://my-aac.org ### Requirements - - PHP 7.2.5 or later + - PHP 8.0 or later - MySQL database - PDO PHP Extension - XML PHP Extension diff --git a/common.php b/common.php index c1a89bbd..13cdabb7 100644 --- a/common.php +++ b/common.php @@ -23,7 +23,7 @@ * @copyright 2019 MyAAC * @link https://my-aac.org */ -if (version_compare(phpversion(), '7.2.5', '<')) die('PHP version 7.2.5 or higher is required.'); +if (version_compare(phpversion(), '8.0', '<')) die('PHP version 8.0 or higher is required.'); const MYAAC = true; const MYAAC_VERSION = '0.10.0-dev'; diff --git a/composer.json b/composer.json index b1300e34..91260d71 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "require": { - "php": "^7.2.5 || ^8.0", + "php": "^8.0", "ext-pdo": "*", "ext-pdo_mysql": "*", "ext-json": "*",