Sort phpstan.neon

This commit is contained in:
Dylan K. Taylor 2021-09-07 12:32:19 +01:00
parent b0b28ec6ed
commit 9b8be22015
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -4,8 +4,8 @@ includes:
- tests/phpstan/configs/gc-hacks.neon - tests/phpstan/configs/gc-hacks.neon
- tests/phpstan/configs/l7-baseline.neon - tests/phpstan/configs/l7-baseline.neon
- tests/phpstan/configs/l8-baseline.neon - tests/phpstan/configs/l8-baseline.neon
- tests/phpstan/configs/php74-compat.neon
- tests/phpstan/configs/php-bugs.neon - tests/phpstan/configs/php-bugs.neon
- tests/phpstan/configs/php74-compat.neon
- tests/phpstan/configs/phpstan-bugs.neon - tests/phpstan/configs/phpstan-bugs.neon
- tests/phpstan/configs/phpunit-wiring-tests.neon - tests/phpstan/configs/phpunit-wiring-tests.neon
- tests/phpstan/configs/pthreads-bugs.neon - tests/phpstan/configs/pthreads-bugs.neon
@ -24,22 +24,22 @@ parameters:
scanDirectories: scanDirectories:
- tests/plugins/TesterPlugin - tests/plugins/TesterPlugin
scanFiles: scanFiles:
- build/make-release.php
- build/server-phar.php
- src/pocketmine/PocketMine.php - src/pocketmine/PocketMine.php
- build/make-release.php
- build/server-phar.php
paths: paths:
- src
- build/make-release.php - build/make-release.php
- build/server-phar.php - build/server-phar.php
- src
- tests/phpunit - tests/phpunit
- tests/plugins/TesterPlugin - tests/plugins/TesterPlugin
dynamicConstantNames: dynamicConstantNames:
- pocketmine\IS_DEVELOPMENT_BUILD
- pocketmine\DEBUG - pocketmine\DEBUG
- pocketmine\IS_DEVELOPMENT_BUILD
stubFiles: stubFiles:
- tests/phpstan/stubs/pthreads.stub
- tests/phpstan/stubs/chunkutils.stub - tests/phpstan/stubs/chunkutils.stub
- tests/phpstan/stubs/leveldb.stub - tests/phpstan/stubs/leveldb.stub
- tests/phpstan/stubs/pthreads.stub
reportUnmatchedIgnoredErrors: false #no other way to silence platform-specific non-warnings reportUnmatchedIgnoredErrors: false #no other way to silence platform-specific non-warnings
staticReflectionClassNamePatterns: staticReflectionClassNamePatterns:
- "#^COM$#" - "#^COM$#"