mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-19 18:04:07 +00:00
Merge branch 'stable'
This commit is contained in:
commit
757f5b2fbf
@ -42,4 +42,14 @@ Plugin developers should **only** update their required API to this version if y
|
|||||||
- Timings chains now work correctly.
|
- Timings chains now work correctly.
|
||||||
- Fixed some minor timing errors in chained timings.
|
- Fixed some minor timing errors in chained timings.
|
||||||
- Forcing resource packs no longer causes removal of client-sided resource packs. If this behaviour is desired, use a vanilla resource pack at the bottom of your resource stack (as was necessary for non-forced packs).
|
- Forcing resource packs no longer causes removal of client-sided resource packs. If this behaviour is desired, use a vanilla resource pack at the bottom of your resource stack (as was necessary for non-forced packs).
|
||||||
- Added documentation to the API to clarify that effect durations are in ticks.
|
- Added documentation to the API to clarify that effect durations are in ticks.
|
||||||
|
|
||||||
|
# 3.11.4
|
||||||
|
- Fixed performance issue in leaf decay.
|
||||||
|
- Fixed entity position desync when entities stop moving, but still have velocity on the client.
|
||||||
|
- Fixed a crash when encountering truncated `level.dat` files in LevelDB worlds.
|
||||||
|
- Core code is now analyzed using PHPStan level 6.
|
||||||
|
- The core constants `pocketmine\PATH` and `pocketmine\RESOURCE_PATH` are now unconditionally available when including the Composer autoloader.
|
||||||
|
- Populate type information in lots of places where it was previously missing; this will improve the quality of static analysis for plugins.
|
||||||
|
- `MainLogger::logException()` now logs previous exceptions recursively.
|
||||||
|
- `MainLogger::logException()` now always logs exceptions as `critical`.
|
||||||
|
@ -3,7 +3,6 @@ includes:
|
|||||||
- tests/phpstan/configs/custom-leveldb.neon
|
- tests/phpstan/configs/custom-leveldb.neon
|
||||||
- tests/phpstan/configs/ds-bugs.neon
|
- tests/phpstan/configs/ds-bugs.neon
|
||||||
- tests/phpstan/configs/gc-hacks.neon
|
- tests/phpstan/configs/gc-hacks.neon
|
||||||
- tests/phpstan/configs/gradual-level6.neon
|
|
||||||
- tests/phpstan/configs/phpstan-bugs.neon
|
- tests/phpstan/configs/phpstan-bugs.neon
|
||||||
- tests/phpstan/configs/pthreads-bugs.neon
|
- tests/phpstan/configs/pthreads-bugs.neon
|
||||||
- tests/phpstan/configs/runtime-type-checks.neon
|
- tests/phpstan/configs/runtime-type-checks.neon
|
||||||
@ -12,7 +11,7 @@ rules:
|
|||||||
- pocketmine\phpstan\rules\DisallowEnumComparisonRule
|
- pocketmine\phpstan\rules\DisallowEnumComparisonRule
|
||||||
|
|
||||||
parameters:
|
parameters:
|
||||||
level: 5
|
level: 6
|
||||||
autoload_files:
|
autoload_files:
|
||||||
- tests/phpstan/bootstrap.php
|
- tests/phpstan/bootstrap.php
|
||||||
- src/PocketMine.php
|
- src/PocketMine.php
|
||||||
@ -25,6 +24,7 @@ parameters:
|
|||||||
- pocketmine\IS_DEVELOPMENT_BUILD
|
- pocketmine\IS_DEVELOPMENT_BUILD
|
||||||
- pocketmine\DEBUG
|
- pocketmine\DEBUG
|
||||||
reportUnmatchedIgnoredErrors: false #no other way to silence platform-specific non-warnings
|
reportUnmatchedIgnoredErrors: false #no other way to silence platform-specific non-warnings
|
||||||
|
checkMissingIterableValueType: false #TODO: pthreads Threaded base for too many things, fix this later
|
||||||
ignoreErrors:
|
ignoreErrors:
|
||||||
-
|
-
|
||||||
message: "#^Function parallel\\\\bootstrap not found\\.$#"
|
message: "#^Function parallel\\\\bootstrap not found\\.$#"
|
||||||
|
@ -1,12 +0,0 @@
|
|||||||
parameters:
|
|
||||||
checkGenericClassInNonGenericObjectType: true
|
|
||||||
#checkMissingIterableValueType: true
|
|
||||||
checkMissingVarTagTypehint: true
|
|
||||||
checkMissingTypehints: true
|
|
||||||
|
|
||||||
rules:
|
|
||||||
- PHPStan\Rules\Functions\MissingFunctionParameterTypehintRule
|
|
||||||
- PHPStan\Rules\Functions\MissingFunctionReturnTypehintRule
|
|
||||||
- PHPStan\Rules\Methods\MissingMethodParameterTypehintRule
|
|
||||||
- PHPStan\Rules\Methods\MissingMethodReturnTypehintRule
|
|
||||||
- PHPStan\Rules\Properties\MissingPropertyTypehintRule
|
|
Loading…
x
Reference in New Issue
Block a user