From e72d8ecfa230ca7c0e7cd1be52d47bf1e88b6e0d Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Fri, 19 Feb 2021 10:20:45 +0200 Subject: [PATCH] Update PHP min version to 7.1 --- app/Http/Middleware/StartupCheck.php | 4 ++-- composer.json | 4 ++-- docs/install.rst | 2 +- docs/update.rst | 5 +++++ 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/app/Http/Middleware/StartupCheck.php b/app/Http/Middleware/StartupCheck.php index e4544fbb4b8b..da91196e921d 100644 --- a/app/Http/Middleware/StartupCheck.php +++ b/app/Http/Middleware/StartupCheck.php @@ -72,8 +72,8 @@ class StartupCheck $file = storage_path() . '/version.txt'; $version = @file_get_contents($file); if ($version != NINJA_VERSION) { - if (version_compare(phpversion(), '7.0.0', '<')) { - dd('Please update PHP to >= 7.0.0'); + if (version_compare(phpversion(), '7.1.0', '<')) { + dd('Please update PHP to >= 7.1.0'); } $handle = fopen($file, 'w'); fwrite($handle, NINJA_VERSION); diff --git a/composer.json b/composer.json index 64c7c67b4d26..c1fbca82fd8f 100644 --- a/composer.json +++ b/composer.json @@ -13,7 +13,7 @@ } ], "require": { - "php": ">=7.0.0", + "php": ">=7.1.0", "ext-gd": "*", "ext-gmp": "*", "ext-json": "*", @@ -186,7 +186,7 @@ }, { "type": "vcs", - "url": "https://github.com/hillelcoren/omnipay-authorizenet" + "url": "https://github.com/hillelcoren/omnipay-authorizenet" } ] } diff --git a/docs/install.rst b/docs/install.rst index 711486bb9832..6a7f5020bfdd 100644 --- a/docs/install.rst +++ b/docs/install.rst @@ -3,7 +3,7 @@ Install Thanks for taking the time to setup Invoice Ninja. -.. Note:: The applications requires PHP 7.0, 7.1 or 7.2 and MySQL. +.. Note:: The applications requires PHP 7.1 or 7.2 and MySQL. Detailed Guides ^^^^^^^^^^^^^^^ diff --git a/docs/update.rst b/docs/update.rst index 74b52957d4c9..66ce7aeb03b3 100644 --- a/docs/update.rst +++ b/docs/update.rst @@ -30,6 +30,11 @@ A common error with shared hosting is "open_basedir restriction in effect", if y .. TIP:: You can see the detailed changes for each release on our `GitHub release notes `_. +Version 5.4.33 +""""""""""" + +The minimum PHP version is now 7.1.0 + Version 4.3 """""""""""