master: green on phpstan level 4

This commit is contained in:
Dylan K. Taylor 2019-12-12 15:25:15 +00:00
parent 6ace4733ce
commit 1c6d3cd580

View File

@ -47,11 +47,28 @@ parameters:
count: 1
path: ../../../src/entity/projectile/Projectile.php
-
#dynamic Entity class access of ::ID constant
message: "#^Strict comparison using \\!\\=\\= between \\-1 and \\-1 will always evaluate to false\\.$#"
count: 1
path: ../../../src/item/ItemFactory.php
-
message: "#^Cannot access offset int on Ds\\\\Deque&iterable\\<pocketmine\\\\item\\\\WritableBookPage\\>\\.$#"
count: 2
path: ../../../src/item/WritableBookBase.php
-
#object to array cast analysis bug
message: "#^Call to function is_object\\(\\) with int will always evaluate to false\\.$#"
count: 1
path: ../../../src/network/mcpe/protocol/DataPacket.php
-
message: "#^If condition is always false\\.$#"
count: 1
path: ../../../src/network/mcpe/protocol/types/entity/EntityMetadataCollection.php
-
message: "#^Instanceof between int and PharFileInfo will always evaluate to false\\.$#"
count: 1