From 12bc463243e479a0c274030b9e609b5ad11b8924 Mon Sep 17 00:00:00 2001 From: Franz Liedke Date: Mon, 28 May 2018 23:21:22 +0200 Subject: [PATCH] Require PHP 7.1 This will be the last PHP requirement upgrade for a while, at least until stable (and therefore until the next major release). We have decided to do this now, for the following reasons: - We want to support MariaDB (and the compatible release of doctrine/dbal requires 7.1 as well). - We prefer to upgrade to Laravel 5.6 sooner rather than later. - Using the PSR-15 middleware standard is easier this way, as we do not have to switch from zend-stratigility to another PSR-15 implementation. (Stratigility v3, which implements the final standard, requires 7.1.) --- framework/core/composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/core/composer.json b/framework/core/composer.json index 27c91e627..6d01cf6e0 100644 --- a/framework/core/composer.json +++ b/framework/core/composer.json @@ -20,7 +20,7 @@ "docs": "http://flarum.org/docs" }, "require": { - "php": ">=7.0", + "php": ">=7.1", "dflydev/fig-cookies": "^1.0.2", "doctrine/dbal": "^2.5", "components/font-awesome": "^5.0.6",