Require PHP min 8.0, older versions are EOL

This commit is contained in:
slawkens 2023-08-11 22:20:00 +02:00
parent 0835b69a93
commit 0f38a677b1
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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';

View File

@ -1,6 +1,6 @@
{
"require": {
"php": "^7.2.5 || ^8.0",
"php": "^8.0",
"ext-pdo": "*",
"ext-pdo_mysql": "*",
"ext-json": "*",