mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-13 23:15:29 +00:00
Silence a PHPStan bug
I'm not able to reproduce this one on the playground, but it still shows up even when disabling certain phpdocs...
This commit is contained in:
parent
4c783f1037
commit
129ca7fee0
@ -22,6 +22,7 @@ parameters:
|
|||||||
level: 8
|
level: 8
|
||||||
checkExplicitMixed: true
|
checkExplicitMixed: true
|
||||||
checkMissingCallableSignature: true
|
checkMissingCallableSignature: true
|
||||||
|
treatPhpDocTypesAsCertain: false
|
||||||
bootstrapFiles:
|
bootstrapFiles:
|
||||||
- tests/phpstan/bootstrap.php
|
- tests/phpstan/bootstrap.php
|
||||||
scanDirectories:
|
scanDirectories:
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
parameters:
|
parameters:
|
||||||
ignoreErrors:
|
ignoreErrors:
|
||||||
|
-
|
||||||
|
message: "#^Strict comparison using \\!\\=\\= between 5 and 5 will always evaluate to false\\.$#"
|
||||||
|
count: 1
|
||||||
|
path: ../../../src/block/Vine.php
|
||||||
|
|
||||||
-
|
-
|
||||||
message: "#^Call to function is_resource\\(\\) with resource will always evaluate to true\\.$#"
|
message: "#^Call to function is_resource\\(\\) with resource will always evaluate to true\\.$#"
|
||||||
count: 3
|
count: 3
|
||||||
|
Loading…
x
Reference in New Issue
Block a user