From a01c513d8e52da6ba7c7f13966aa857eb8933496 Mon Sep 17 00:00:00 2001 From: Alexander Skvortsov Date: Thu, 20 Feb 2020 00:11:49 -0500 Subject: [PATCH] Updated PHP requirement to 7.2 --- .github/workflows/test.yml | 8 +------- composer.json | 2 +- src/Install/Installation.php | 2 +- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index edc991289..d6d4c9c9d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,7 +8,7 @@ jobs: strategy: matrix: - php: [7.1, 7.2, 7.3, 7.4] + php: [7.2, 7.3, 7.4] service: ['mysql:5.7', mariadb] prefix: ['', flarum_] @@ -21,12 +21,6 @@ jobs: prefixStr: (prefix) exclude: - - php: 7.1 - service: 'mysql:5.7' - prefix: flarum_ - - php: 7.1 - service: mariadb - prefix: flarum_ - php: 7.2 service: 'mysql:5.7' prefix: flarum_ diff --git a/composer.json b/composer.json index 7c58ed265..f4c1fec40 100644 --- a/composer.json +++ b/composer.json @@ -24,7 +24,7 @@ "docs": "https://flarum.org/docs/" }, "require": { - "php": ">=7.1", + "php": ">=7.2", "axy/sourcemap": "^0.1.4", "components/font-awesome": "5.9.*", "dflydev/fig-cookies": "^1.0.2", diff --git a/src/Install/Installation.php b/src/Install/Installation.php index 8ef92d6b7..3b14a3baa 100644 --- a/src/Install/Installation.php +++ b/src/Install/Installation.php @@ -87,7 +87,7 @@ class Installation public function prerequisites(): Prerequisite\PrerequisiteInterface { return new Prerequisite\Composite( - new Prerequisite\PhpVersion('7.1.0'), + new Prerequisite\PhpVersion('7.2.0'), new Prerequisite\PhpExtensions([ 'dom', 'gd',