mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 00:33:59 +00:00
phpstan: ignore more optional-leveldb errors
This commit is contained in:
parent
1a1e3ff63b
commit
3226a9dc6a
@ -128,6 +128,12 @@ parameters:
|
||||
-
|
||||
message: "#^Return typehint of method pocketmine\\\\level\\\\format\\\\io\\\\leveldb\\\\LevelDB\\:\\:getDatabase\\(\\) has invalid type LevelDB\\.$#"
|
||||
path: src/pocketmine/level/format/io/leveldb/LevelDB.php
|
||||
-
|
||||
message: "#^Property pocketmine\\\\level\\\\format\\\\io\\\\leveldb\\\\LevelDB\\:\\:\\$db has unknown class LevelDB as its type\\.$#"
|
||||
path: src/pocketmine/level/format/io/leveldb/LevelDB.php
|
||||
-
|
||||
message: "#^Call to method (get|put|delete|close)\\(\\) on an unknown class LevelDB\\.$#"
|
||||
path: src/pocketmine/level/format/io/leveldb/LevelDB.php
|
||||
|
||||
-
|
||||
message: "#^PHPDoc tag @param has invalid value \\(.+\\)\\: Unexpected token \"&\", expected TOKEN_VARIABLE at offset \\d+$#"
|
||||
|
Loading…
x
Reference in New Issue
Block a user