2022-03-15 18:05:33 +08:00
|
|
|
parameters:
|
|
|
|
|
reportUnmatchedIgnoredErrors: false
|
2022-04-03 01:47:38 +08:00
|
|
|
level: 4
|
2022-03-15 18:05:33 +08:00
|
|
|
paths:
|
|
|
|
|
- ./src/
|
2022-12-23 17:16:08 +08:00
|
|
|
- ./tests/
|
2022-12-27 20:39:24 +08:00
|
|
|
excludePaths:
|
|
|
|
|
- ./src/ZM/Exception/Solution/SolutionRepository.php
|
2022-03-15 18:05:33 +08:00
|
|
|
ignoreErrors:
|
2022-03-31 02:22:30 +08:00
|
|
|
- '#Constant .* not found#'
|
2022-04-04 20:51:26 +08:00
|
|
|
- '#PHPDoc tag @throws with type Psr\\Container\\ContainerExceptionInterface is not subtype of Throwable#'
|
2022-04-05 00:13:22 +08:00
|
|
|
- '#Unsafe usage of new static#'
|
2022-05-15 16:40:12 +08:00
|
|
|
- '#Call to method initTableList\(\) of deprecated class ZM\\DB\\DB#'
|
2022-08-14 18:24:59 +08:00
|
|
|
- '#class Fiber#'
|
2022-12-25 19:29:44 +08:00
|
|
|
- # Ignore Prophesize deprecation bug: https://github.com/phpstan/phpstan-deprecation-rules/issues/76
|
|
|
|
|
message: '#^Call to deprecated method prophesize\(\) of class Tests\\TestCase#'
|
|
|
|
|
path: tests
|
2022-04-03 01:47:38 +08:00
|
|
|
dynamicConstantNames:
|
|
|
|
|
- SWOOLE_VERSION
|
2022-04-30 20:34:32 +08:00
|
|
|
- ZM_TEST_LOG_DEBUG
|
2022-05-04 17:43:15 +08:00
|
|
|
- _PHAR_STUB_ID
|
2022-08-01 16:31:54 +08:00
|
|
|
- LOAD_MODE
|