3fb34ad18e
remove particle/validator dependency, require respect/validation, close #3228
...
this fixes a few crashes that could appear from invalid plugin_list.yml setups, which was the reason #3228 was opened to begin with. Respect also has nicer error messages, as long as you don't use the static API :)
2020-05-15 22:57:38 +01:00
86db3af896
remove utils\Color, use new pocketmine/color class
...
we're so close to separating protocol from core !!!
2020-05-14 20:38:08 +01:00
4c5fb1371d
Merge commit 'a70fa1569027b5a77979ae513f753e71b4454b05'
2020-05-13 13:48:51 +01:00
a70fa15690
phpstan 0.12.25, drop some bug-filtering error patterns
2020-05-13 12:51:52 +01:00
b7cf4f01f9
remove utils\UUID, switch to pocketmine/uuid package
2020-05-11 10:46:48 +01:00
3299bc4023
start using pocketmine/errorhandler
2020-05-10 13:04:40 +01:00
acd37b95b8
Merge branch 'next-minor'
2020-05-06 20:41:48 +01:00
717b866605
Merge branch 'stable' into next-minor
2020-05-06 20:25:11 +01:00
6bfc309a0a
phpstan 0.12.22
2020-05-04 22:26:44 +01:00
2d55b2db1b
Merge branch 'next-minor'
2020-04-26 00:38:20 +01:00
f87e96026c
Merge branch 'stable' into next-minor
2020-04-26 00:28:09 +01:00
b63ad032a9
phpstan 0.12.19
2020-04-26 00:08:41 +01:00
766a2178a0
Merge branch 'next-minor'
...
# Conflicts:
# composer.lock
# resources/vanilla
2020-04-19 12:56:44 +01:00
70a4f73d73
Drop PHP 7.2 support
2020-04-19 12:49:25 +01:00
c097188a97
Merge branch 'next-minor'
...
# Conflicts:
# composer.json
# composer.lock
# resources/vanilla
2020-04-19 12:22:39 +01:00
804a062c3a
CrashDump: report the versions of all Composer libraries installed
2020-04-19 12:11:34 +01:00
37701267f0
Merge branch 'stable'
2020-03-31 19:40:54 +01:00
e45e84b236
Updated composer dependencies
2020-03-31 18:43:30 +01:00
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
a95426c373
Merge branch 'stable'
2020-03-18 13:17:38 +00:00
636c35dcf1
replace daverandom/callback-validator with pocketmine/callback-validator, closes #3359
2020-03-17 12:24:50 +00:00
a3edbc31ae
Merge branch 'next-minor'
2020-03-14 14:13:50 +00:00
0dd68e587f
require phpstan ^0.12.14 (for incremental analysis)
2020-03-13 16:30:35 +00:00
fb1126797a
Merge branch 'stable'
2020-02-07 18:13:55 +00:00
0ac5e03ce9
Require PHPStan 0.12.9 minimum
2020-02-06 20:59:43 +00:00
6c7dada232
finally, integrate phpstan-strict-rules
2020-02-06 19:44:10 +00:00
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
54ccc330d5
Bump irstea/phpunit-shim from 7.5.20 to 8.5.2 ( #3296 )
2020-02-06 12:50:51 +00:00
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
c19b21db91
Merge commit 'f624e36faf2214fef76ad3b7148c17f7f7ff641f'
2020-02-01 20:59:23 +00:00
b11c350b2b
composer: use new pocketmine/log & pocketmine/classloader classes
2020-01-31 15:51:26 +00:00
f624e36faf
composer: all of these packages are now available on packagist
2020-01-31 15:49:33 +00:00
199fa61aef
update composer dependencies
2020-01-30 22:41:58 +00:00
9a5d3e3d4f
Merge branch 'stable'
2020-01-28 14:35:50 +00:00
e2871fad8e
composer.json: move require-dev next to require
2020-01-28 14:32:55 +00:00
41d02003c2
Install PHPStan and PHPUnit via dev dependencies
2020-01-27 12:04:42 +00:00
73257ffde7
updated pocketmine/spl dependency
2020-01-19 19:50:20 +00:00
a4b810977a
Merge commit '651ef500a3be530f5bf1f72990c711706eab3ca7'
2020-01-13 19:29:38 +00:00
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
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
c16337a80f
Merge branch 'stable' with changes
2019-11-09 18:01:04 +00:00
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
2e446e4df3
added pocketmine/classloader dependency (extracted from pocketmine/spl)
2019-10-28 12:29:48 +00:00
0a751857cc
added pocketmine/log dependency
2019-10-24 19:39:58 +01:00
043f1a5577
ext-igbinary is mandatory since e1352668d1
2019-10-24 13:17:04 +01:00
95a4081d24
update composer dependencies
2019-08-25 16:04:51 +01:00
5499ac620c
Removed pocketmine subdirectory, map PSR-4 style
2019-07-30 19:14:57 +01:00
72c0af2e82
Merge branch 'stable'
2019-07-22 17:39:44 +01:00
5a08a10448
update dependency requirements
2019-07-22 17:15:18 +01:00
a858103e6b
Support paletted subchunks, drop all formats except leveldb
2019-03-10 19:53:24 +00:00