1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-01 19:00:20 +02:00
Files
php-monolog/phpstan.neon.dist
Jordi Boggiano ec146b38bd Build tweaks
2020-12-09 23:22:08 +01:00

21 lines
840 B
Plaintext

parameters:
level: 5
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