mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-12 08:49:42 +00:00
this fixes a large number of PHPStan errors, and also brings us a step closer to negative-build-height readiness.
18 lines
739 B
Plaintext
18 lines
739 B
Plaintext
parameters:
|
|
ignoreErrors:
|
|
-
|
|
message: "#^Cannot call method collectGarbage\\(\\) on pocketmine\\\\world\\\\format\\\\SubChunk\\|null\\.$#"
|
|
count: 1
|
|
path: ../../../src/world/format/Chunk.php
|
|
|
|
-
|
|
message: "#^Method pocketmine\\\\world\\\\format\\\\Chunk\\:\\:getSubChunks\\(\\) should return array\\<int, pocketmine\\\\world\\\\format\\\\SubChunk\\> but returns array\\<int, pocketmine\\\\world\\\\format\\\\SubChunk\\|null\\>\\.$#"
|
|
count: 1
|
|
path: ../../../src/world/format/Chunk.php
|
|
|
|
-
|
|
message: "#^Method pocketmine\\\\world\\\\format\\\\HeightArray\\:\\:getValues\\(\\) should return array\\<int, int\\> but returns array\\<int, int\\|null\\>\\.$#"
|
|
count: 1
|
|
path: ../../../src/world/format/HeightArray.php
|
|
|