1
0
mirror of https://github.com/halaxa/json-machine.git synced 2025-01-17 13:08:16 +01:00
json-machine/phpstan.neon

22 lines
651 B
Plaintext
Raw Normal View History

2023-11-15 14:21:24 +01:00
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