mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-20 16:00:20 +00:00
master: green on phpstan level 4
This commit is contained in:
parent
6ace4733ce
commit
1c6d3cd580
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user