Merge branch 'stable'

This commit is contained in:
Dylan K. Taylor
2021-09-07 12:45:52 +01:00
4 changed files with 16 additions and 8 deletions

View File

@ -26,30 +26,30 @@ parameters:
bootstrapFiles:
- tests/phpstan/bootstrap.php
scanDirectories:
- build
- tests/plugins/TesterPlugin
- tools
scanFiles:
- src/PocketMine.php
- build/make-release.php
- build/server-phar.php
- build/generate-known-translation-apis.php
paths:
- build
- src
- tests/phpstan/rules
- build/generate-known-translation-apis.php
- build/make-release.php
- build/server-phar.php
- tests/phpunit
- tests/plugins/TesterPlugin
- tools
excludePaths:
analyseAndScan:
- build/preprocessor
dynamicConstantNames:
- pocketmine\VersionInfo::IS_DEVELOPMENT_BUILD
- pocketmine\DEBUG
- pocketmine\IS_DEVELOPMENT_BUILD
stubFiles:
- tests/phpstan/stubs/JsonMapper.stub
- tests/phpstan/stubs/pthreads.stub
- tests/phpstan/stubs/leveldb.stub
- tests/phpstan/stubs/phpasn1.stub
- tests/phpstan/stubs/pthreads.stub
reportUnmatchedIgnoredErrors: false #no other way to silence platform-specific non-warnings
staticReflectionClassNamePatterns:
- "#^COM$#"