phpstan: use PHP 8.0 as primary version

I'm using 8.0 for local development now, so having the phpstan configs targeted at 7.4 by default makes things inconvenient.
This commit is contained in:
Dylan K. Taylor
2021-07-26 14:34:47 +01:00
parent 3bbd088a09
commit 01fe497c49
15 changed files with 213 additions and 271 deletions

View File

@ -0,0 +1,11 @@
parameters:
ignoreErrors:
-
message: "#^Strict comparison using \\=\\=\\= between array\\<string, mixed\\> and false will always evaluate to false\\.$#"
count: 1
path: ../../../src/pocketmine/utils/Timezone.php
-
message: "#^Strict comparison using \\=\\=\\= between array and false will always evaluate to false\\.$#"
count: 1
path: ../../../src/pocketmine/utils/Utils.php