phpstan.neon 651 B

123456789101112131415161718192021
  1. parameters:
  2. level: 5
  3. paths:
  4. - src
  5. - test
  6. bootstrapFiles:
  7. - %rootDir%/../../../test/bootstrap.php
  8. treatPhpDocTypesAsCertain: false
  9. exceptions:
  10. implicitThrows: false
  11. check:
  12. missingCheckedExceptionInThrows: true
  13. tooWideThrowType: true
  14. reportUncheckedExceptionDeadCatch: true
  15. checkedExceptionClasses:
  16. - JsonMachine\Exception\PathNotFoundException
  17. - JsonMachine\Exception\SyntaxErrorException
  18. - JsonMachine\Exception\UnexpectedEndSyntaxErrorException
  19. uncheckedExceptionClasses:
  20. - JsonMachine\Exception\InvalidArgumentException
  21. - JsonMachine\Exception\JsonMachineException