phpstan.neon 710 B

123456789101112131415161718192021222324252627282930313233343536
  1. parameters:
  2. # TODO: Increase rule-level https://phpstan.org/user-guide/rule-levels
  3. level: 6
  4. treatPhpDocTypesAsCertain: false
  5. fileExtensions:
  6. - php
  7. - phtml
  8. paths:
  9. - .
  10. excludePaths:
  11. analyse:
  12. - lib/marienfressinaud/*
  13. - lib/phpgt/*
  14. - lib/phpmailer/*
  15. - lib/SimplePie/*
  16. - vendor/*
  17. analyseAndScan:
  18. - .git/*
  19. - node_modules/*
  20. bootstrapFiles:
  21. - cli/_cli.php
  22. - lib/favicons.php
  23. dynamicConstantNames:
  24. - CACHE_PATH
  25. - COPY_LOG_TO_SYSLOG
  26. - COPY_SYSLOG_TO_STDERR
  27. - DATA_PATH
  28. - MAX_LOG_SIZE
  29. - SIMPLEPIE_SYSLOG_ENABLED
  30. - STDERR
  31. - STDOUT
  32. - TMP_PATH
  33. - USERS_PATH
  34. includes:
  35. - vendor/phpstan/phpstan-phpunit/extension.neon
  36. - vendor/phpstan/phpstan-phpunit/rules.neon