mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-20 16:00:20 +00:00
Merge commit '42613618a'
# Conflicts: # phpstan.neon.dist # resources/vanilla
This commit is contained in:
commit
ee6b980b98
@ -37,6 +37,7 @@ parameters:
|
||||
stubFiles:
|
||||
- tests/phpstan/stubs/JsonMapper.stub
|
||||
- tests/phpstan/stubs/pthreads.stub
|
||||
- tests/phpstan/stubs/leveldb.stub
|
||||
reportUnmatchedIgnoredErrors: false #no other way to silence platform-specific non-warnings
|
||||
staticReflectionClassNamePatterns:
|
||||
- "#^COM$#"
|
||||
|
11
tests/phpstan/stubs/leveldb.stub
Normal file
11
tests/phpstan/stubs/leveldb.stub
Normal file
@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
class LevelDB{
|
||||
/**
|
||||
* @param string $key
|
||||
* @param array<string, mixed> $read_options
|
||||
*
|
||||
* @return string|false
|
||||
*/
|
||||
public function get($key, array $read_options = []){}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user