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:
Dylan K. Taylor 2021-05-02 13:55:32 +01:00
parent 4c783f1037
commit 129ca7fee0
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D
2 changed files with 6 additions and 0 deletions

View File

@ -22,6 +22,7 @@ parameters:
level: 8
checkExplicitMixed: true
checkMissingCallableSignature: true
treatPhpDocTypesAsCertain: false
bootstrapFiles:
- tests/phpstan/bootstrap.php
scanDirectories:

View File

@ -1,5 +1,10 @@
parameters:
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\\.$#"
count: 3