update dependency requirements

This commit is contained in:
Dylan K. Taylor 2019-07-22 17:15:18 +01:00
parent 622f93df45
commit 5a08a10448
3 changed files with 30 additions and 31 deletions

View File

@ -17,17 +17,17 @@
"ext-openssl": "*", "ext-openssl": "*",
"ext-pcre": "*", "ext-pcre": "*",
"ext-phar": "*", "ext-phar": "*",
"ext-pthreads": ">=3.1.7dev", "ext-pthreads": "~3.2.0",
"ext-reflection": "*", "ext-reflection": "*",
"ext-sockets": "*", "ext-sockets": "*",
"ext-spl": "*", "ext-spl": "*",
"ext-yaml": ">=2.0.0", "ext-yaml": ">=2.0.0",
"ext-zip": "*", "ext-zip": "*",
"ext-zlib": ">=1.2.11", "ext-zlib": ">=1.2.11",
"pocketmine/raklib": "^0.12.0", "pocketmine/raklib": "^0.12.5",
"pocketmine/spl": "^0.3.0", "pocketmine/spl": "^0.3.0",
"pocketmine/binaryutils": "^0.1.0", "pocketmine/binaryutils": "^0.1.9",
"pocketmine/nbt": "^0.2.6", "pocketmine/nbt": "^0.2.10",
"pocketmine/math": "^0.2.0", "pocketmine/math": "^0.2.0",
"pocketmine/snooze": "^0.1.0", "pocketmine/snooze": "^0.1.0",
"daverandom/callback-validator": "dev-master", "daverandom/callback-validator": "dev-master",

49
composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "2f5313e4ebd7b62c785cf683b27464b4", "content-hash": "377d9e0ab5f1a9a4ef9b664706d26f5b",
"packages": [ "packages": [
{ {
"name": "adhocore/json-comment", "name": "adhocore/json-comment",
@ -92,16 +92,16 @@
}, },
{ {
"name": "pocketmine/binaryutils", "name": "pocketmine/binaryutils",
"version": "0.1.8", "version": "0.1.9",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/pmmp/BinaryUtils.git", "url": "https://github.com/pmmp/BinaryUtils.git",
"reference": "33f511715d22418c03368b49b45a6c25d6b33806" "reference": "8b3b1160679398387cb896fd5d06018413437dfa"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/pmmp/BinaryUtils/zipball/33f511715d22418c03368b49b45a6c25d6b33806", "url": "https://api.github.com/repos/pmmp/BinaryUtils/zipball/8b3b1160679398387cb896fd5d06018413437dfa",
"reference": "33f511715d22418c03368b49b45a6c25d6b33806", "reference": "8b3b1160679398387cb896fd5d06018413437dfa",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -119,10 +119,10 @@
], ],
"description": "Classes and methods for conveniently handling binary data", "description": "Classes and methods for conveniently handling binary data",
"support": { "support": {
"source": "https://github.com/pmmp/BinaryUtils/tree/0.1.8", "source": "https://github.com/pmmp/BinaryUtils/tree/0.1.9",
"issues": "https://github.com/pmmp/BinaryUtils/issues" "issues": "https://github.com/pmmp/BinaryUtils/issues"
}, },
"time": "2019-01-16T17:31:44+00:00" "time": "2019-07-22T13:15:53+00:00"
}, },
{ {
"name": "pocketmine/math", "name": "pocketmine/math",
@ -160,23 +160,23 @@
}, },
{ {
"name": "pocketmine/nbt", "name": "pocketmine/nbt",
"version": "0.2.7", "version": "0.2.10",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/pmmp/NBT.git", "url": "https://github.com/pmmp/NBT.git",
"reference": "2f176c9f2fd9b31db8bc2ada2f38990157ec8f1a" "reference": "2db27aebe7dc89772aaa8df53361eef801f60063"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/pmmp/NBT/zipball/2f176c9f2fd9b31db8bc2ada2f38990157ec8f1a", "url": "https://api.github.com/repos/pmmp/NBT/zipball/2db27aebe7dc89772aaa8df53361eef801f60063",
"reference": "2f176c9f2fd9b31db8bc2ada2f38990157ec8f1a", "reference": "2db27aebe7dc89772aaa8df53361eef801f60063",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"ext-zlib": "*", "ext-zlib": "*",
"php": ">=7.2.0", "php": ">=7.2.0",
"php-64bit": "*", "php-64bit": "*",
"pocketmine/binaryutils": "^0.1.0" "pocketmine/binaryutils": "^0.1.9"
}, },
"type": "library", "type": "library",
"autoload": { "autoload": {
@ -194,33 +194,33 @@
], ],
"description": "PHP library for working with Named Binary Tags", "description": "PHP library for working with Named Binary Tags",
"support": { "support": {
"source": "https://github.com/pmmp/NBT/tree/0.2.7", "source": "https://github.com/pmmp/NBT/tree/0.2.10",
"issues": "https://github.com/pmmp/NBT/issues" "issues": "https://github.com/pmmp/NBT/issues"
}, },
"time": "2019-03-29T19:39:42+00:00" "time": "2019-07-22T15:22:23+00:00"
}, },
{ {
"name": "pocketmine/raklib", "name": "pocketmine/raklib",
"version": "0.12.4", "version": "0.12.5",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/pmmp/RakLib.git", "url": "https://github.com/pmmp/RakLib.git",
"reference": "fc1ccc8e61b9033e5372436b2e28a7a95388373f" "reference": "874db2d3c24117db2221c1e4550380478aeea852"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/pmmp/RakLib/zipball/fc1ccc8e61b9033e5372436b2e28a7a95388373f", "url": "https://api.github.com/repos/pmmp/RakLib/zipball/874db2d3c24117db2221c1e4550380478aeea852",
"reference": "fc1ccc8e61b9033e5372436b2e28a7a95388373f", "reference": "874db2d3c24117db2221c1e4550380478aeea852",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"ext-bcmath": "*", "ext-bcmath": "*",
"ext-pthreads": ">=3.1.7dev", "ext-pthreads": "~3.2.0",
"ext-sockets": "*", "ext-sockets": "*",
"php": ">=7.2.0", "php": ">=7.2.0",
"php-64bit": "*", "php-64bit": "*",
"php-ipv6": "*", "php-ipv6": "*",
"pocketmine/binaryutils": "^0.1.0", "pocketmine/binaryutils": "^0.1.9",
"pocketmine/snooze": "^0.1.0", "pocketmine/snooze": "^0.1.0",
"pocketmine/spl": "^0.3.0" "pocketmine/spl": "^0.3.0"
}, },
@ -235,10 +235,10 @@
], ],
"description": "A RakNet server implementation written in PHP", "description": "A RakNet server implementation written in PHP",
"support": { "support": {
"source": "https://github.com/pmmp/RakLib/tree/0.12.4", "source": "https://github.com/pmmp/RakLib/tree/0.12",
"issues": "https://github.com/pmmp/RakLib/issues" "issues": "https://github.com/pmmp/RakLib/issues"
}, },
"time": "2019-05-02T14:53:51+00:00" "time": "2019-07-22T14:38:20+00:00"
}, },
{ {
"name": "pocketmine/snooze", "name": "pocketmine/snooze",
@ -302,7 +302,7 @@
], ],
"description": "Standard library files required by PocketMine-MP and related projects", "description": "Standard library files required by PocketMine-MP and related projects",
"support": { "support": {
"source": "https://github.com/pmmp/SPL/tree/0.3.2" "source": "https://github.com/pmmp/SPL/tree/master"
}, },
"time": "2018-08-12T15:17:39+00:00" "time": "2018-08-12T15:17:39+00:00"
} }
@ -311,7 +311,6 @@
"aliases": [], "aliases": [],
"minimum-stability": "stable", "minimum-stability": "stable",
"stability-flags": { "stability-flags": {
"ext-pthreads": 20,
"daverandom/callback-validator": 20 "daverandom/callback-validator": 20
}, },
"prefer-stable": false, "prefer-stable": false,
@ -329,7 +328,7 @@
"ext-openssl": "*", "ext-openssl": "*",
"ext-pcre": "*", "ext-pcre": "*",
"ext-phar": "*", "ext-phar": "*",
"ext-pthreads": ">=3.1.7dev", "ext-pthreads": "~3.2.0",
"ext-reflection": "*", "ext-reflection": "*",
"ext-sockets": "*", "ext-sockets": "*",
"ext-spl": "*", "ext-spl": "*",

View File

@ -102,8 +102,8 @@ namespace pocketmine {
if(substr_count($pthreads_version, ".") < 2){ if(substr_count($pthreads_version, ".") < 2){
$pthreads_version = "0.$pthreads_version"; $pthreads_version = "0.$pthreads_version";
} }
if(version_compare($pthreads_version, "3.1.7dev") < 0){ if(version_compare($pthreads_version, "3.2.0") < 0){
$messages[] = "pthreads >= 3.1.7dev is required, while you have $pthreads_version."; $messages[] = "pthreads >= 3.2.0 is required, while you have $pthreads_version.";
} }
} }