Merge remote-tracking branch 'origin/stable'

This commit is contained in:
Dylan K. Taylor
2021-03-23 15:17:10 +00:00
15 changed files with 140 additions and 92 deletions

View File

@ -40,16 +40,6 @@ parameters:
count: 1
path: ../../../src/event/entity/EntityShootBowEvent.php
-
message: "#^Cannot instantiate interface pocketmine\\\\world\\\\format\\\\io\\\\WritableWorldProvider\\.$#"
count: 1
path: ../../../src/world/WorldManager.php
-
message: "#^Cannot instantiate interface pocketmine\\\\world\\\\format\\\\io\\\\WritableWorldProvider\\.$#"
count: 2
path: ../../../src/world/format/io/FormatConverter.php
-
message: "#^Variable property access on \\$this\\(pocketmine\\\\world\\\\generator\\\\PopulationTask\\)\\.$#"
count: 4

View File

@ -5,11 +5,6 @@ parameters:
count: 1
path: ../../../src/CrashDump.php
-
message: "#^Parameter \\#3 \\$subject of function preg_replace expects array\\|string, mixed given\\.$#"
count: 1
path: ../../../src/CrashDump.php
-
message: "#^Cannot access offset float\\|int on mixed\\.$#"
count: 1
@ -20,11 +15,6 @@ parameters:
count: 1
path: ../../../src/CrashDump.php
-
message: "#^Cannot access offset 'name' on mixed\\.$#"
count: 1
path: ../../../src/CrashDump.php
-
message: "#^Cannot cast mixed to int\\.$#"
count: 7
@ -275,11 +265,6 @@ parameters:
count: 1
path: ../../../src/utils/MainLogger.php
-
message: "#^Parameter \\#2 \\$str of function fwrite expects string, mixed given\\.$#"
count: 1
path: ../../../src/utils/MainLoggerThread.php
-
message: "#^Cannot access offset 'status' on mixed\\.$#"
count: 1
@ -345,21 +330,6 @@ parameters:
count: 1
path: ../../../src/world/generator/Flat.php
-
message: "#^Parameter \\#4 \\$q0 of static method pocketmine\\\\world\\\\generator\\\\noise\\\\Noise\\:\\:linearLerp\\(\\) expects float, mixed given\\.$#"
count: 1
path: ../../../src/world/generator/noise/Noise.php
-
message: "#^Parameter \\#5 \\$q1 of static method pocketmine\\\\world\\\\generator\\\\noise\\\\Noise\\:\\:linearLerp\\(\\) expects float, mixed given\\.$#"
count: 1
path: ../../../src/world/generator/noise/Noise.php
-
message: "#^Cannot access offset int on mixed\\.$#"
count: 6
path: ../../../src/world/generator/noise/Noise.php
-
message: "#^Parameter \\#2 \\$array of static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) expects array\\|ArrayAccess, mixed given\\.$#"
count: 1

View File

@ -660,16 +660,6 @@ parameters:
count: 1
path: ../../../src/network/mcpe/protocol/types/inventory/UseItemTransactionData.php
-
message: "#^Call to an undefined method object\\:\\:Add\\(\\)\\.$#"
count: 1
path: ../../../src/network/upnp/UPnP.php
-
message: "#^Call to an undefined method object\\:\\:Remove\\(\\)\\.$#"
count: 1
path: ../../../src/network/upnp/UPnP.php
-
message: "#^Array \\(array\\<int, pocketmine\\\\player\\\\UsedChunkStatus\\>\\) does not accept key \\(int\\|string\\)\\.$#"
count: 3