phpstan: exclude a couple of files from analysis temporarily

close #4472
This commit is contained in:
Dylan K. Taylor 2021-10-29 00:23:13 +01:00
parent f6e53f826b
commit f1cc168d26
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -34,6 +34,9 @@ parameters:
analyseAndScan:
- build/php
- build/preprocessor
analyse:
- src/pocketmine/block/StoneSlab.php #overrides STONE constant
- src/pocketmine/item/Potion.php #overrides WATER constant
dynamicConstantNames:
- pocketmine\DEBUG
- pocketmine\IS_DEVELOPMENT_BUILD