phpstan.neon.dist 802 B

1234567891011121314151617181920212223
  1. parameters:
  2. level: 8
  3. treatPhpDocTypesAsCertain: false
  4. reportUnmatchedIgnoredErrors: true
  5. paths:
  6. - src/
  7. # - tests/
  8. ignoreErrors:
  9. - '#zend_monitor_|ZEND_MONITOR_#'
  10. - '#MongoDB\\(Client|Collection)#'
  11. # Invalid type info on Redis multi
  12. - '#^Cannot call method ltrim\(\) on int\|false.$#'
  13. # Cannot resolve this cleanly as different normalizers return different types but it is safe
  14. - message: '#Return type \(string\) of method Monolog\\Formatter\\LineFormatter::normalizeException\(\) should be compatible with return type \(array\) of method Monolog\\Formatter\\NormalizerFormatter::normalizeException\(\)#'
  15. paths:
  16. - src/Monolog/Formatter/LineFormatter.php
  17. includes:
  18. - phpstan-baseline.neon