| 12345678910111213141516171819202122232425 |
- 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.#'
|