phpstan.dist.neon 803 B

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