Upgrade phpstan to v2

This commit is contained in:
crazywhalecc
2026-02-03 11:22:32 +08:00
parent c536fedff7
commit 103b5b3585
9 changed files with 162 additions and 159 deletions

View File

@@ -11,11 +11,13 @@ parameters:
- '#Function Swoole\\Coroutine\\run not found.#'
- '#Static call to instance method ZM\\Logger\\ConsoleColor#'
- '#Constant GNU_ARCH not found#'
-
identifiers:
- 'if.alwaysFalse'
dynamicConstantNames:
- PHP_OS_FAMILY
excludePaths:
analyseAndScan:
- ./src/globals/ext-tests/swoole.php
- ./src/globals/ext-tests/swoole.phpt
- ./src/globals/ext-tests/
- ./src/globals/test-extensions.php
- ./src/SPC/