95 Commits

Author SHA1 Message Date
Dylan K. Taylor
2d55b2db1b Merge branch 'next-minor' 2020-04-26 00:38:20 +01:00
Dylan K. Taylor
f87e96026c Merge branch 'stable' into next-minor 2020-04-26 00:28:09 +01:00
Dylan K. Taylor
b63ad032a9 phpstan 0.12.19 2020-04-26 00:08:41 +01:00
Dylan K. Taylor
766a2178a0 Merge branch 'next-minor'
# Conflicts:
#	composer.lock
#	resources/vanilla
2020-04-19 12:56:44 +01:00
Dylan K. Taylor
70a4f73d73 Drop PHP 7.2 support 2020-04-19 12:49:25 +01:00
Dylan K. Taylor
c097188a97 Merge branch 'next-minor'
# Conflicts:
#	composer.json
#	composer.lock
#	resources/vanilla
2020-04-19 12:22:39 +01:00
Dylan K. Taylor
804a062c3a CrashDump: report the versions of all Composer libraries installed 2020-04-19 12:11:34 +01:00
Dylan K. Taylor
37701267f0 Merge branch 'stable' 2020-03-31 19:40:54 +01:00
Dylan K. Taylor
e45e84b236 Updated composer dependencies 2020-03-31 18:43:30 +01:00
Dylan K. Taylor
83a3adecff LoginPacket: use netresearch/jsonmapper for login data decoding
this makes retrieval static analysis friendly without extra steps.
2020-03-23 22:00:13 +00:00
Dylan K. Taylor
a95426c373 Merge branch 'stable' 2020-03-18 13:17:38 +00:00
Dylan K. Taylor
636c35dcf1 replace daverandom/callback-validator with pocketmine/callback-validator, closes #3359 2020-03-17 12:24:50 +00:00
Dylan K. Taylor
a3edbc31ae Merge branch 'next-minor' 2020-03-14 14:13:50 +00:00
Dylan K. Taylor
0dd68e587f require phpstan ^0.12.14 (for incremental analysis) 2020-03-13 16:30:35 +00:00
Dylan K. Taylor
fb1126797a Merge branch 'stable' 2020-02-07 18:13:55 +00:00
Dylan K. Taylor
0ac5e03ce9 Require PHPStan 0.12.9 minimum 2020-02-06 20:59:43 +00:00
Dylan K. Taylor
6c7dada232 finally, integrate phpstan-strict-rules 2020-02-06 19:44:10 +00:00
Dylan K. Taylor
3a5709bf5e start using phpstan-phpunit
not using extension-installer because I want to part-integrate phpstan-strict-rules later on.
2020-02-06 13:23:18 +00:00
dependabot-preview[bot]
54ccc330d5
Bump irstea/phpunit-shim from 7.5.20 to 8.5.2 (#3296) 2020-02-06 12:50:51 +00:00
dependabot-preview[bot]
8f434b9edd
Bump adhocore/json-comment from 0.0.7 to 0.1.0
Bumps [adhocore/json-comment](https://github.com/adhocore/php-json-comment) from 0.0.7 to 0.1.0.
- [Release notes](https://github.com/adhocore/php-json-comment/releases)
- [Changelog](https://github.com/adhocore/php-json-comment/blob/master/CHANGELOG.md)
- [Commits](https://github.com/adhocore/php-json-comment/compare/v0.0.7...0.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-05 22:40:41 +00:00
Dylan K. Taylor
c19b21db91 Merge commit 'f624e36faf2214fef76ad3b7148c17f7f7ff641f' 2020-02-01 20:59:23 +00:00
Dylan K. Taylor
b11c350b2b composer: use new pocketmine/log & pocketmine/classloader classes 2020-01-31 15:51:26 +00:00
Dylan K. Taylor
f624e36faf composer: all of these packages are now available on packagist 2020-01-31 15:49:33 +00:00
Dylan K. Taylor
199fa61aef update composer dependencies 2020-01-30 22:41:58 +00:00
Dylan K. Taylor
9a5d3e3d4f Merge branch 'stable' 2020-01-28 14:35:50 +00:00
Dylan K. Taylor
e2871fad8e composer.json: move require-dev next to require 2020-01-28 14:32:55 +00:00
Dylan K. Taylor
41d02003c2 Install PHPStan and PHPUnit via dev dependencies 2020-01-27 12:04:42 +00:00
Dylan K. Taylor
73257ffde7 updated pocketmine/spl dependency 2020-01-19 19:50:20 +00:00
Dylan K. Taylor
a4b810977a Merge commit '651ef500a3be530f5bf1f72990c711706eab3ca7' 2020-01-13 19:29:38 +00:00
Dylan K. Taylor
651ef500a3 Make pocketmine\PATH and pocketmine\RESOURCE_PATH always available
these are non-dependent on environment, so they can be determined with no external input.
    This fixes 2 PHPStan issues, fixes some code that couldn't run outside of PM, and makes it easier to write code that depends on PM.
2020-01-13 10:55:54 +00:00
Dylan K. Taylor
a733f094ac phpstan: added a custom rule to disallow strict equality operators on enum members
comparing enums with equality operators is unreliable because there is no guarantee that the enum objects won't be somehow duplicated, through serialization, cloning or ext-parallel dumb object copying. This means that two equal enum objects may not be thw same object.
2020-01-08 19:45:05 +00:00
Dylan K. Taylor
c16337a80f Merge branch 'stable' with changes 2019-11-09 18:01:04 +00:00
Dylan K. Taylor
4cb0b319c0 load some non-class constants with composer
this makes PHPStan happy and also makes working with PM code externally less of a pain in the ass.
2019-11-05 11:16:22 +00:00
Dylan K. Taylor
2e446e4df3 added pocketmine/classloader dependency (extracted from pocketmine/spl) 2019-10-28 12:29:48 +00:00
Dylan K. Taylor
0a751857cc added pocketmine/log dependency 2019-10-24 19:39:58 +01:00
Dylan K. Taylor
043f1a5577 ext-igbinary is mandatory since e1352668d1bfc9d6638afc4c7c43cf17b87430c5 2019-10-24 13:17:04 +01:00
Dylan K. Taylor
95a4081d24 update composer dependencies 2019-08-25 16:04:51 +01:00
Dylan K. Taylor
5499ac620c Removed pocketmine subdirectory, map PSR-4 style 2019-07-30 19:14:57 +01:00
Dylan K. Taylor
72c0af2e82 Merge branch 'stable' 2019-07-22 17:39:44 +01:00
Dylan K. Taylor
5a08a10448 update dependency requirements 2019-07-22 17:15:18 +01:00
Dylan K. Taylor
a858103e6b Support paletted subchunks, drop all formats except leveldb 2019-03-10 19:53:24 +00:00
Dylan K. Taylor
1f5c901f29 ext-ds is now required 2019-03-01 20:03:16 +00:00
Dylan K. Taylor
768cfe3953 Updated composer dependencies 2019-02-07 16:47:16 +00:00
Dylan K. Taylor
b9ce6537a8 Sync composer dependencies (master) 2019-01-09 00:22:42 +00:00
Dylan K. Taylor
4f50119b74 LoginPacket: Cater for more error cases
This now doesn't crash unexpectedly at the first sign of broken data.
2019-01-07 14:45:44 +00:00
Dylan K. Taylor
cf20f0e23a Merge branch 'release/3.5' 2018-12-27 15:53:12 +00:00
Dylan K. Taylor
6417cff618 Fixed resource packs with comments in manifest
MOJANG, THERE'S NO SUCH THING AS COMMENTS IN STANDARD JSON
2018-12-27 15:50:51 +00:00
Dylan K. Taylor
05e968d9fd Merge branch 'release/3.4' 2018-12-04 18:40:54 +00:00
Dylan K. Taylor
762405d16a Add daverandom/callback-validator as a dependency 2018-12-04 17:14:37 +00:00
Dylan K. Taylor
0b03e3c95b Update dependencies, fix travis failure 2018-11-05 21:20:42 +00:00