mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 01:46:04 +00:00
fixed a bunch of NBT-related phpstan level 8 errors
This commit is contained in:
@ -785,116 +785,6 @@ parameters:
|
||||
count: 1
|
||||
path: ../../../src/world/format/HeightArray.php
|
||||
|
||||
-
|
||||
message: "#^Method pocketmine\\\\world\\\\format\\\\io\\\\data\\\\JavaWorldData\\:\\:load\\(\\) should return pocketmine\\\\nbt\\\\tag\\\\CompoundTag but returns pocketmine\\\\nbt\\\\tag\\\\CompoundTag\\|null\\.$#"
|
||||
count: 1
|
||||
path: ../../../src/world/format/io/data/JavaWorldData.php
|
||||
|
||||
-
|
||||
message: "#^Cannot call method getListTag\\(\\) on pocketmine\\\\nbt\\\\tag\\\\CompoundTag\\|null\\.$#"
|
||||
count: 3
|
||||
path: ../../../src/world/format/io/region/Anvil.php
|
||||
|
||||
-
|
||||
message: "#^Cannot call method hasTag\\(\\) on pocketmine\\\\nbt\\\\tag\\\\CompoundTag\\|null\\.$#"
|
||||
count: 4
|
||||
path: ../../../src/world/format/io/region/Anvil.php
|
||||
|
||||
-
|
||||
message: "#^Cannot call method getIntArray\\(\\) on pocketmine\\\\nbt\\\\tag\\\\CompoundTag\\|null\\.$#"
|
||||
count: 1
|
||||
path: ../../../src/world/format/io/region/Anvil.php
|
||||
|
||||
-
|
||||
message: "#^Cannot call method getByteArray\\(\\) on pocketmine\\\\nbt\\\\tag\\\\CompoundTag\\|null\\.$#"
|
||||
count: 1
|
||||
path: ../../../src/world/format/io/region/Anvil.php
|
||||
|
||||
-
|
||||
message: "#^Cannot call method getInt\\(\\) on pocketmine\\\\nbt\\\\tag\\\\CompoundTag\\|null\\.$#"
|
||||
count: 2
|
||||
path: ../../../src/world/format/io/region/Anvil.php
|
||||
|
||||
-
|
||||
message: "#^Parameter \\#2 \\$list of static method pocketmine\\\\world\\\\format\\\\io\\\\region\\\\RegionWorldProvider\\:\\:getCompoundList\\(\\) expects pocketmine\\\\nbt\\\\tag\\\\ListTag, pocketmine\\\\nbt\\\\tag\\\\ListTag\\|null given\\.$#"
|
||||
count: 2
|
||||
path: ../../../src/world/format/io/region/Anvil.php
|
||||
|
||||
-
|
||||
message: "#^Cannot call method getByte\\(\\) on pocketmine\\\\nbt\\\\tag\\\\CompoundTag\\|null\\.$#"
|
||||
count: 1
|
||||
path: ../../../src/world/format/io/region/Anvil.php
|
||||
|
||||
-
|
||||
message: "#^Cannot call method getListTag\\(\\) on pocketmine\\\\nbt\\\\tag\\\\CompoundTag\\|null\\.$#"
|
||||
count: 3
|
||||
path: ../../../src/world/format/io/region/PMAnvil.php
|
||||
|
||||
-
|
||||
message: "#^Cannot call method hasTag\\(\\) on pocketmine\\\\nbt\\\\tag\\\\CompoundTag\\|null\\.$#"
|
||||
count: 4
|
||||
path: ../../../src/world/format/io/region/PMAnvil.php
|
||||
|
||||
-
|
||||
message: "#^Cannot call method getIntArray\\(\\) on pocketmine\\\\nbt\\\\tag\\\\CompoundTag\\|null\\.$#"
|
||||
count: 1
|
||||
path: ../../../src/world/format/io/region/PMAnvil.php
|
||||
|
||||
-
|
||||
message: "#^Cannot call method getByteArray\\(\\) on pocketmine\\\\nbt\\\\tag\\\\CompoundTag\\|null\\.$#"
|
||||
count: 1
|
||||
path: ../../../src/world/format/io/region/PMAnvil.php
|
||||
|
||||
-
|
||||
message: "#^Cannot call method getInt\\(\\) on pocketmine\\\\nbt\\\\tag\\\\CompoundTag\\|null\\.$#"
|
||||
count: 2
|
||||
path: ../../../src/world/format/io/region/PMAnvil.php
|
||||
|
||||
-
|
||||
message: "#^Parameter \\#2 \\$list of static method pocketmine\\\\world\\\\format\\\\io\\\\region\\\\RegionWorldProvider\\:\\:getCompoundList\\(\\) expects pocketmine\\\\nbt\\\\tag\\\\ListTag, pocketmine\\\\nbt\\\\tag\\\\ListTag\\|null given\\.$#"
|
||||
count: 2
|
||||
path: ../../../src/world/format/io/region/PMAnvil.php
|
||||
|
||||
-
|
||||
message: "#^Cannot call method getByte\\(\\) on pocketmine\\\\nbt\\\\tag\\\\CompoundTag\\|null\\.$#"
|
||||
count: 1
|
||||
path: ../../../src/world/format/io/region/PMAnvil.php
|
||||
|
||||
-
|
||||
message: "#^Cannot call method getByteArray\\(\\) on pocketmine\\\\nbt\\\\tag\\\\CompoundTag\\|null\\.$#"
|
||||
count: 3
|
||||
path: ../../../src/world/format/io/region/McRegion.php
|
||||
|
||||
-
|
||||
message: "#^Cannot call method hasTag\\(\\) on pocketmine\\\\nbt\\\\tag\\\\CompoundTag\\|null\\.$#"
|
||||
count: 6
|
||||
path: ../../../src/world/format/io/region/McRegion.php
|
||||
|
||||
-
|
||||
message: "#^Cannot call method getIntArray\\(\\) on pocketmine\\\\nbt\\\\tag\\\\CompoundTag\\|null\\.$#"
|
||||
count: 1
|
||||
path: ../../../src/world/format/io/region/McRegion.php
|
||||
|
||||
-
|
||||
message: "#^Cannot call method getInt\\(\\) on pocketmine\\\\nbt\\\\tag\\\\CompoundTag\\|null\\.$#"
|
||||
count: 2
|
||||
path: ../../../src/world/format/io/region/McRegion.php
|
||||
|
||||
-
|
||||
message: "#^Cannot call method getListTag\\(\\) on pocketmine\\\\nbt\\\\tag\\\\CompoundTag\\|null\\.$#"
|
||||
count: 2
|
||||
path: ../../../src/world/format/io/region/McRegion.php
|
||||
|
||||
-
|
||||
message: "#^Parameter \\#2 \\$list of static method pocketmine\\\\world\\\\format\\\\io\\\\region\\\\RegionWorldProvider\\:\\:getCompoundList\\(\\) expects pocketmine\\\\nbt\\\\tag\\\\ListTag, pocketmine\\\\nbt\\\\tag\\\\ListTag\\|null given\\.$#"
|
||||
count: 2
|
||||
path: ../../../src/world/format/io/region/McRegion.php
|
||||
|
||||
-
|
||||
message: "#^Cannot call method getByte\\(\\) on pocketmine\\\\nbt\\\\tag\\\\CompoundTag\\|null\\.$#"
|
||||
count: 1
|
||||
path: ../../../src/world/format/io/region/McRegion.php
|
||||
|
||||
-
|
||||
message: "#^Cannot call method readChunk\\(\\) on pocketmine\\\\world\\\\format\\\\io\\\\region\\\\RegionLoader\\|null\\.$#"
|
||||
count: 1
|
||||
|
Reference in New Issue
Block a user