Skip to content

Commit

Permalink
Merge branch 'legacy/pm4' into stable
Browse files Browse the repository at this point in the history
  • Loading branch information
dktapps committed Dec 6, 2023
2 parents 927f129 + ba89ae5 commit 2f1d611
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 17 deletions.
16 changes: 16 additions & 0 deletions changelogs/4.26.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# 4.26.0
Released 6th December 2023.

**For Minecraft: Bedrock Edition 1.20.50**

This is a support release for Minecraft: Bedrock Edition 1.20.50.

**Plugin compatibility:** Plugins for previous 4.x versions will run unchanged on this release, unless they use internal APIs, reflection, or packages like the `pocketmine\network\mcpe` namespace.
Do not update plugin minimum API versions unless you need new features added in this release.

**WARNING: If your plugin uses the `pocketmine\network\mcpe` namespace, you're not shielded by API change constraints.**
Consider using the `mcpe-protocol` directive in `plugin.yml` as a constraint if you're using packets directly.

## General
- Added support for Minecraft: Bedrock Edition 1.20.50.
- Removed support for older versions.
4 changes: 2 additions & 2 deletions tests/phpstan/configs/actual-problems.neon
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ parameters:

-
message: "#^Cannot access offset 'git' on mixed\\.$#"
count: 2
count: 1
path: ../../../src/VersionInfo.php

-
Expand Down Expand Up @@ -792,7 +792,7 @@ parameters:

-
message: "#^Cannot access offset string on mixed\\.$#"
count: 3
count: 2
path: ../../../src/utils/Config.php

-
Expand Down
15 changes: 0 additions & 15 deletions tests/phpstan/configs/phpstan-bugs.neon
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,6 @@ parameters:
count: 1
path: ../../../src/entity/projectile/Projectile.php

-
message: "#^Match arm comparison between 1\\|2\\|3\\|4 and 0 is always false\\.$#"
count: 1
path: ../../../src/network/mcpe/handler/InGamePacketHandler.php

-
message: "#^Match arm comparison between 4 and 4 is always true\\.$#"
count: 1
path: ../../../src/network/mcpe/handler/InGamePacketHandler.php

-
message: "#^Match arm is unreachable because previous comparison is always true\\.$#"
count: 1
path: ../../../src/network/mcpe/handler/InGamePacketHandler.php

-
message: "#^Property pocketmine\\\\network\\\\mcpe\\\\raklib\\\\PthreadsChannelWriter\\:\\:\\$buffer is never read, only written\\.$#"
count: 1
Expand Down

0 comments on commit 2f1d611

Please sign in to comment.