Merge commit '42613618a'

# Conflicts:
#	phpstan.neon.dist
#	resources/vanilla
This commit is contained in:
Dylan K. Taylor 2020-06-13 11:46:39 +01:00
commit ee6b980b98
2 changed files with 12 additions and 0 deletions

View File

@ -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$#"

View 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 = []){}
}