diff --git a/phpstan.neon b/phpstan.neon index 787f9ef6e..0bd71bd95 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -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+$#"