1
0
mirror of https://github.com/halaxa/json-machine.git synced 2025-01-17 04:58:16 +01:00
json-machine/phpstan.neon
2023-11-26 22:07:06 +01:00

22 lines
651 B
Plaintext

parameters:
level: 5
paths:
- src
- test
bootstrapFiles:
- %rootDir%/../../../test/bootstrap.php
treatPhpDocTypesAsCertain: false
exceptions:
implicitThrows: false
check:
missingCheckedExceptionInThrows: true
tooWideThrowType: true
reportUncheckedExceptionDeadCatch: true
checkedExceptionClasses:
- JsonMachine\Exception\PathNotFoundException
- JsonMachine\Exception\SyntaxErrorException
- JsonMachine\Exception\UnexpectedEndSyntaxErrorException
uncheckedExceptionClasses:
- JsonMachine\Exception\InvalidArgumentException
- JsonMachine\Exception\JsonMachineException