phpstan.neon.dist 869 B

12345678910111213141516171819202122232425262728
  1. includes:
  2. - vendor-bin/phpstan/baseline.neon
  3. - vendor-bin/phpstan/ignore.neon
  4. parameters:
  5. # Test on PHP 7.4 (we support 7.0, but PHPStan doesn't)
  6. phpVersion: 70400
  7. # See: https://phpstan.org/user-guide/rule-levels
  8. level: 1
  9. paths:
  10. - src
  11. - test
  12. excludePaths:
  13. # Signature errors related to wide PHP version support.
  14. # See: https://github.com/bobthecow/psysh/pull/738#issuecomment-1202622730
  15. - src/Readline/Hoa/FileGeneric.php
  16. - src/Readline/Hoa/FileLink.php
  17. - src/Reflection/ReflectionClassConstant.php
  18. - src/Reflection/ReflectionConstant_.php
  19. - src/Reflection/ReflectionLanguageConstruct.php
  20. - src/Reflection/ReflectionNamespace.php
  21. - src/Util/Str.php
  22. - test/TestCase.php
  23. bootstrapFiles:
  24. - vendor-bin/phpstan/bootstrap.php
  25. checkMissingIterableValueType: false
  26. reportUnmatchedIgnoredErrors: true