phpstan.dist.neon 817 B

12345678910111213141516171819202122232425
  1. # https://phpstan.org/config-reference
  2. parameters:
  3. level: 8
  4. tmpDir: .build/phpstan-cache
  5. paths:
  6. - benchmark
  7. - examples
  8. - src
  9. - tests
  10. treatPhpDocTypesAsCertain: false
  11. ignoreErrors:
  12. # the only place where these instances *may* be null is in the Decoder\BitMatrix class
  13. - message: "#^Cannot call method [\\w]+\\(\\) on chillerlan\\\\QRCode\\\\Common\\\\EccLevel\\|null\\.$#"
  14. - message: "#^Cannot call method [\\w]+\\(\\) on chillerlan\\\\QRCode\\\\Common\\\\MaskPattern\\|null\\.$#"
  15. - message: "#^Cannot call method [\\w]+\\(\\) on chillerlan\\\\QRCode\\\\Common\\\\Version\\|null\\.$#"
  16. includes:
  17. - phpstan-baseline.neon
  18. - vendor/phpstan/phpstan/conf/bleedingEdge.neon
  19. - vendor/phpstan/phpstan-deprecation-rules/rules.neon
  20. - vendor/chillerlan/php-settings-container/rules-magic-access.neon