phpstan: define LEVELDB_ZLIB_RAW_COMPRESSION if it doesn't exist (for phpstan)

this improves the analysis quality by informing phpstan of the type of whatever should be there.
This commit is contained in:
Dylan K. Taylor
2020-10-11 23:01:21 +01:00
parent 873535f719
commit 8564912149
3 changed files with 5 additions and 13 deletions

View File

@ -1,12 +0,0 @@
parameters:
ignoreErrors:
#TODO: use custom stubs
-
message: "#^Used constant LEVELDB_ZLIB_RAW_COMPRESSION not found\\.$#"
count: 1
path: ../../../src/pocketmine/level/format/io/leveldb/LevelDB.php
-
message: "#^Constant LEVELDB_ZLIB_RAW_COMPRESSION not found\\.$#"
count: 1
path: ../../../src/pocketmine/level/format/io/leveldb/LevelDB.php