From 7d43dffac498c3bba7d8a343e7913bac3dbc90e5 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Sun, 19 Apr 2020 12:44:26 +0100 Subject: [PATCH 1/2] updated phpstan/phpstan-phpunit --- composer.lock | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/composer.lock b/composer.lock index 7bb68fa4f..e167dc5a2 100644 --- a/composer.lock +++ b/composer.lock @@ -568,21 +568,21 @@ }, { "name": "phpstan/phpstan-phpunit", - "version": "0.12.6", + "version": "0.12.8", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan-phpunit.git", - "reference": "26394996368b6d033d012547d3197f4e07e23021" + "reference": "7232c17e2493dc598173da784477ce0afb2c4e0e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan-phpunit/zipball/26394996368b6d033d012547d3197f4e07e23021", - "reference": "26394996368b6d033d012547d3197f4e07e23021", + "url": "https://api.github.com/repos/phpstan/phpstan-phpunit/zipball/7232c17e2493dc598173da784477ce0afb2c4e0e", + "reference": "7232c17e2493dc598173da784477ce0afb2c4e0e", "shasum": "" }, "require": { "php": "~7.1", - "phpstan/phpstan": "^0.12.4" + "phpstan/phpstan": "^0.12.6" }, "conflict": { "phpunit/phpunit": "<7.0" @@ -620,7 +620,7 @@ "MIT" ], "description": "PHPUnit extensions and rules for PHPStan", - "time": "2020-01-10T12:07:21+00:00" + "time": "2020-04-17T08:04:10+00:00" }, { "name": "phpstan/phpstan-strict-rules", From 70a4f73d73e0be6e0f99249f059a363a0a7670b1 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Sun, 19 Apr 2020 12:49:25 +0100 Subject: [PATCH 2/2] 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