From 70a4f73d73e0be6e0f99249f059a363a0a7670b1 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Sun, 19 Apr 2020 12:49:25 +0100 Subject: [PATCH] Drop PHP 7.2 support --- .travis.yml | 1 - BUILDING.md | 2 +- composer.json | 2 +- composer.lock | 4 ++-- src/pocketmine/PocketMine.php | 2 +- 5 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2fc68b387..55ddfd2e2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,6 @@ language: php php: - - 7.2 - 7.3 before_script: diff --git a/BUILDING.md b/BUILDING.md index a4e0d8595..df02d6b20 100644 --- a/BUILDING.md +++ b/BUILDING.md @@ -2,7 +2,7 @@ ## Pre-requisites - A bash shell (git bash is sufficient for Windows) - [`git`](https://git-scm.com) available in your shell -- PHP 7.2 or newer available in your shell +- PHP 7.3 or newer available in your shell - [`composer`](https://getcomposer.org) available in your shell ## Custom PHP binaries diff --git a/composer.json b/composer.json index fc249ea02..3442e81e3 100644 --- a/composer.json +++ b/composer.json @@ -5,7 +5,7 @@ "homepage": "https://pmmp.io", "license": "LGPL-3.0", "require": { - "php": ">=7.2.0", + "php": ">=7.3.0", "php-64bit": "*", "ext-bcmath": "*", "ext-curl": "*", diff --git a/composer.lock b/composer.lock index e167dc5a2..4b764bdb5 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "3449adb803690a36539c03ecb3a8fb3d", + "content-hash": "86ad0aed5ce88fa096c73bced8c79348", "packages": [ { "name": "adhocore/json-comment", @@ -680,7 +680,7 @@ "prefer-stable": false, "prefer-lowest": false, "platform": { - "php": ">=7.2.0", + "php": ">=7.3.0", "php-64bit": "*", "ext-bcmath": "*", "ext-curl": "*", diff --git a/src/pocketmine/PocketMine.php b/src/pocketmine/PocketMine.php index 47fcc7e32..dcf4c5d97 100644 --- a/src/pocketmine/PocketMine.php +++ b/src/pocketmine/PocketMine.php @@ -35,7 +35,7 @@ namespace pocketmine { require_once __DIR__ . '/VersionInfo.php'; - const MIN_PHP_VERSION = "7.2.0"; + const MIN_PHP_VERSION = "7.3.0"; /** * @param string $message