phpstan-tests.neon 1.2 KB

1234567891011121314151617181920212223242526272829303132
  1. parameters:
  2. tmpDir: ./build/cache/phpstan
  3. level: max
  4. paths:
  5. - ./tests
  6. bootstrapFiles:
  7. - ./tests/static-analysis/stubs.php
  8. checkMissingIterableValueType: false
  9. reportUnmatchedIgnoredErrors: false
  10. excludePaths:
  11. analyse:
  12. - ./tests/ExpectedBehaviorTest.php
  13. - ./tests/static-analysis/stubs.php
  14. ignoreErrors:
  15. -
  16. message: "#^Call to static method Ramsey\\\\Uuid\\\\.+ on a separate line has no effect\\.$#"
  17. paths:
  18. - ./tests/*Test.php
  19. - ./tests/benchmark/*Bench.php
  20. -
  21. message: "#^Call to method Ramsey\\\\Uuid\\\\.+ on a separate line has no effect\\.$#"
  22. paths:
  23. - ./tests/Builder/*Test.php
  24. - ./tests/Converter/*Test.php
  25. - ./tests/Generator/*Test.php
  26. - ./tests/Guid/*Test.php
  27. - ./tests/Nonstandard/*Test.php
  28. - ./tests/Rfc4122/*Test.php
  29. -
  30. message: "#^Method Ramsey\\\\Uuid\\\\.+ should return non-empty-string but returns string\\.$#"
  31. paths:
  32. - ./tests/static-analysis/ValidUuidIsNonEmpty.php