@@ -34,6 +34,8 @@ parameters:
3434 - ../tests/PHPStan/Command/IgnoredRegexValidatorTest.php
3535 - ../src/Command/IgnoredRegexValidator.php
3636 exceptions :
37+ uncheckedExceptionRegexes :
38+ - '~^Exception$~'
3739 uncheckedExceptionClasses :
3840 - 'PHPStan\ShouldNotHappenException'
3941 - 'Symfony\Component\Console\Exception\InvalidArgumentException'
@@ -44,8 +46,26 @@ parameters:
4446 - 'PHPStan\DependencyInjection\ParameterNotFoundException'
4547 - 'PHPStan\Analyser\UndefinedVariableException'
4648 - 'RuntimeException'
49+ - 'Nette\Neon\Exception'
50+ - 'Nette\Utils\JsonException'
51+ - 'PHPStan\File\CouldNotReadFileException'
52+ - 'PHPStan\File\CouldNotWriteFileException'
53+ - 'PHPStan\Parser\ParserErrorsException'
54+ - 'ReflectionException'
55+ - 'Nette\Utils\AssertionException'
56+ - 'PHPStan\File\PathNotFoundException'
57+ - 'PHPStan\Broker\ClassNotFoundException'
58+ - 'PHPStan\Broker\FunctionNotFoundException'
59+ - 'PHPStan\Broker\ConstantNotFoundException'
60+ - 'PHPStan\Reflection\MissingMethodFromReflectionException'
61+ - 'PHPStan\Reflection\MissingPropertyFromReflectionException'
62+ - 'PHPStan\Reflection\MissingConstantFromReflectionException'
63+ - 'PHPStan\Type\CircularTypeAliasDefinitionException'
64+ - 'PHPStan\Broker\ClassAutoloadingException'
65+ - 'LogicException'
66+ - 'TypeError'
4767 check :
48- missingCheckedExceptionInThrows : false
68+ missingCheckedExceptionInThrows : true
4969 tooWideThrowType : true
5070 featureToggles :
5171 readComposerPhpVersion : false
0 commit comments