Dylan K. Taylor
92e1811b06
DataPacket: fixed bad null assignment to buffer in clean()
...
this is never expected to be null, so implicitly relies on PHP magic behaviour to convert it to string when appended.
2019-12-01 20:36:56 +00:00
Dylan K. Taylor
293c2710d0
PlayerCreationEvent: fixed doc comments for baseClass and playerClass fields
2019-12-01 20:19:59 +00:00
Dylan K. Taylor
8a7017fd6b
Enchantment: fixed doc comment for static enchantments field
2019-12-01 20:16:45 +00:00
Dylan K. Taylor
15f8886958
phpstan: separate non-PM bugs from the main neon config
...
everything left in here is now a PM problem that needs to be looked into.
2019-12-01 20:12:41 +00:00
Dylan K. Taylor
3226a9dc6a
phpstan: ignore more optional-leveldb errors
2019-12-01 19:52:49 +00:00
Dylan K. Taylor
1a1e3ff63b
BaseInventory: fixed incorrect & redundant default value for slots field
2019-12-01 19:45:16 +00:00
Dylan K. Taylor
ea413d0882
phpstan: analyze on level 2, close #3193
2019-12-01 19:32:03 +00:00
Dylan K. Taylor
0890b5fc99
AsyncPool: assert() that the unstacked task is actually an AsyncTask
...
it's possible that it might not be if the workers were accessed directly, but that shouldn't be possible.
This also silences a PHPStan warning on level 2.
2019-12-01 19:28:05 +00:00
Dylan K. Taylor
163ed225f2
NetworkBinaryStream: fixed crash when non-compound root tag is provided for itemstack
2019-12-01 18:41:02 +00:00
Dylan K. Taylor
a4a6d3e094
PlayerCreationEvent: fixed illegal doc comment types
2019-12-01 18:08:25 +00:00
Dylan K. Taylor
ecbf3e9722
GamemodeCommand: fix CommandSender assignment causing troubles for type inference on static analyzers
...
this would never crash, but in strongly typed code it would be a compile failure.
2019-12-01 09:33:12 +00:00
Dylan K. Taylor
47a959dace
block: fix some possible crashes when plugins overwrite tile classes in bad ways
...
phpstan was complaining on level 2, and it's not wrong to ...
2019-12-01 09:29:22 +00:00
Dylan K. Taylor
3968f85c82
sync composer dependencies
2019-12-01 08:54:48 +00:00
Dylan K. Taylor
6d109bfc6f
CraftingDataPacket: fixed not retaining cleanRecipes during decode
2019-11-30 21:15:37 +00:00
Dylan K. Taylor
42d8357821
AvailableCommandsPacket: fixed missing decoded overloads with 0 arguments
...
these should be listed even if they have 0 arguments
2019-11-30 11:58:29 +00:00
Dylan K. Taylor
0bff5d9bff
sync composer deps
2019-11-29 20:20:13 +00:00
Dylan K. Taylor
994781494f
Merge branch 'next-minor'
2019-11-29 12:06:27 +00:00
Dylan K. Taylor
4cfceeeb8e
bootstrap: fix merge error introduced by cb76f8a5dfba79857ecfd71d2953b759a03671e7
...
this error is harmless since it points to a deprecated function, but it showed up as conflicted in master merge.
2019-11-29 12:03:07 +00:00
Dylan K. Taylor
8ee3d4486a
update build/php submodule to pmmp/php-build-scripts@7e985c932a
2019-11-29 11:56:36 +00:00
Dylan K. Taylor
3e4e0d51df
Merge branch 'stable' into next-minor
2019-11-29 11:55:12 +00:00
Dylan K. Taylor
f2ac63d235
update build/php submodule to pmmp/php-build-scripts@8308571448
2019-11-29 11:54:42 +00:00
SOFe
cb76f8a5df
Merge branch 'stable' into next-minor
2019-11-21 23:21:16 +08:00
Dylan T
3e4366b30d
readme: add XLM since Keybase made it so easy
...
... and also gave lots of keybase users free XLM. Well played, Keybase, you managed to make me adopt Stellar.
2019-11-20 10:51:07 +00:00
Dylan K. Taylor
314ce1d012
build/make-release: push after 5 seconds instead of 10
2019-11-11 16:41:50 +00:00
Dylan K. Taylor
8d2e3894ef
DataPacket: fixed var_dump() not showing private & protected subclass properties
2019-11-11 15:41:08 +00:00
Encritary
7276eda0e5
Moved SetTitlePacket usage to NetworkSession ( #3186 )
2019-11-09 19:56:06 +00:00
Dylan K. Taylor
92700b2e18
phpstan.neon: remove error patterns that don't occur on 4.0
2019-11-09 18:10:53 +00:00
Dylan K. Taylor
c16337a80f
Merge branch 'stable' with changes
2019-11-09 18:01:04 +00:00
Dylan K. Taylor
025cb73bf5
update travis pthreads
2019-11-09 17:34:04 +00:00
Dylan K. Taylor
2a6ffb5aa9
updated build/php submodule
2019-11-09 17:33:25 +00:00
Dylan K. Taylor
932418b951
fixing some PHPStan complaints about bootstrap
...
this isn't an ideal fix, but it'll do.
2019-11-07 18:22:37 +00:00
Dylan K. Taylor
95812252d6
NetworkBinaryStream: fix a mistake in doc for putEntityRuntimeId()
2019-11-07 18:22:37 +00:00
Dylan K. Taylor
cac3c356a5
Painting: fix dropping multiple items when multiple blockupdates occur in the same tick
...
test case: place sand on top of a line of signs, put a painting on the sand and break the supporting sign
fixes #2774 for stable
2019-11-06 14:29:43 -05:00
Dylan K. Taylor
c5d3e9be76
phpstan: silence leveldb noise
...
maybe there's a better way to do this, but I don't know it yet.
2019-11-05 20:21:36 +00:00
Dylan K. Taylor
714f4dc023
fortify CI with PHPStan
2019-11-05 19:42:37 +00:00
Dylan K. Taylor
a86bcd5110
travis.sh: don't redownload phpunit if it already locally exists
2019-11-05 19:39:04 +00:00
Dylan K. Taylor
7ffc477d76
introduced baseline PHPStan configuration
2019-11-05 11:16:49 +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
cbef2bbc51
move ThreadException to pocketmine\thread namespace
2019-10-29 12:42:38 +00:00
Dylan K. Taylor
5edff79f5f
3.9.8 is next
2019-10-28 16:07:35 +00:00
Dylan K. Taylor
0c91d568b4
Release 3.9.7
3.9.7
2019-10-28 16:07:35 +00:00
Dylan K. Taylor
35fabc7765
updated DevTools submodule to 1.13.5
2019-10-28 16:03:26 +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
b5a98a993f
lazy-init RuntimeBlockMapping
2019-10-27 20:58:43 +00:00
Dylan K. Taylor
0840ba8067
PocketMine.php: reduce unnecessary pocketmine\NAME dependencies
2019-10-26 21:37:15 +01:00
Dylan K. Taylor
274cf58ccf
PocketMine.php: remove useless ini_set() (this is a PHP_INI_SYSTEM directive which can't be changed at runtime)
2019-10-25 21:38:47 +01:00
Dylan K. Taylor
1bce5d0bc2
PocketMine.php: move BaseClassLoader creation to where it's actually used
2019-10-25 21:26:22 +01:00
Dylan K. Taylor
0d5d5e21a8
CommandReader: define $w and $e to make PHPStan happy
2019-10-25 16:11:02 +01:00
Dylan K. Taylor
a145e18c1e
CrashDump: use fully qualified reference for GIT_COMMIT constant
...
this makes it easier to filter out PHPStan noise.
2019-10-25 16:08:37 +01:00
Dylan K. Taylor
d1ca779c1a
fix PHPStan @throws incompatible warning
2019-10-25 15:49:47 +01:00