mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 02:08:21 +00:00
phpstan: ignore more optional-leveldb errors
This commit is contained in:
@ -128,6 +128,12 @@ parameters:
|
|||||||
-
|
-
|
||||||
message: "#^Return typehint of method pocketmine\\\\level\\\\format\\\\io\\\\leveldb\\\\LevelDB\\:\\:getDatabase\\(\\) has invalid type LevelDB\\.$#"
|
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
|
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+$#"
|
message: "#^PHPDoc tag @param has invalid value \\(.+\\)\\: Unexpected token \"&\", expected TOKEN_VARIABLE at offset \\d+$#"
|
||||||
|
Reference in New Issue
Block a user