phpstan: baseline our way to level 8

we really need the level 8 checks on new code now, and waiting until old code is clean is not going to benefit us much because the issues that are there already exist.
This commit is contained in:
Dylan K. Taylor 2020-05-18 20:09:25 +01:00
parent 71a8b0340c
commit fffa4b9501
3 changed files with 3982 additions and 1 deletions

View File

@ -3,6 +3,8 @@ includes:
- tests/phpstan/configs/com-dotnet-magic.neon
- tests/phpstan/configs/custom-leveldb.neon
- tests/phpstan/configs/gc-hacks.neon
- tests/phpstan/configs/l7-baseline.neon
- tests/phpstan/configs/l8-baseline.neon
- tests/phpstan/configs/php-bugs.neon
- tests/phpstan/configs/phpstan-bugs.neon
- tests/phpstan/configs/phpunit-wiring-tests.neon
@ -13,7 +15,7 @@ includes:
- vendor/phpstan/phpstan-strict-rules/rules.neon
parameters:
level: 6
level: 8
autoload_files:
- tests/phpstan/bootstrap.php
- src/pocketmine/PocketMine.php

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff