mirror of
https://github.com/Seldaek/monolog.git
synced 2025-07-30 09:50:26 +02:00
26 lines
1.0 KiB
Plaintext
26 lines
1.0 KiB
Plaintext
parameters:
|
|
level: 6
|
|
|
|
treatPhpDocTypesAsCertain: false
|
|
reportUnmatchedIgnoredErrors: false
|
|
|
|
paths:
|
|
- src/
|
|
# - tests/
|
|
|
|
ignoreErrors:
|
|
- '#zend_monitor_|ZEND_MONITOR_#'
|
|
- '#^Cannot call method ltrim\(\) on int\|false.$#'
|
|
- '#MongoDB\\(Client|Collection)#'
|
|
- message: '#Return type \(string\) of method Monolog\\Formatter\\LineFormatter::normalizeException\(\) should be compatible with return type \(array\) of method Monolog\\Formatter\\NormalizerFormatter::normalizeException\(\)#'
|
|
paths:
|
|
- src/Monolog/Formatter/LineFormatter.php
|
|
- message: '#Method Monolog\\Handler\\LogglyHandler::loadCurlHandle\(\) never returns resource so it can be removed from the return typehint.#'
|
|
paths:
|
|
- src/Monolog/Handler/LogglyHandler.php
|
|
|
|
# blocked by https://github.com/phpstan/phpstan/issues/5091
|
|
- '#has unknown class Monolog\\Handler\\Record#'
|
|
- '#::processRecord#'
|
|
- '#is incompatible with native type array.#'
|