zhamao-framework/phpstan.neon

21 lines
705 B
Plaintext
Raw Normal View History

parameters:
reportUnmatchedIgnoredErrors: false
2022-04-03 01:47:38 +08:00
level: 4
paths:
- ./src/
2022-12-23 17:16:08 +08:00
- ./tests/
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
- ZM_TEST_LOG_DEBUG
- _PHAR_STUB_ID
- LOAD_MODE