-
Notifications
You must be signed in to change notification settings - Fork 9
/
phpstan.neon.dist
33 lines (31 loc) · 992 Bytes
/
phpstan.neon.dist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
includes:
- vendor/phpstan/phpstan/conf/bleedingEdge.neon
- vendor/phpstan/phpstan-phpunit/extension.neon
- vendor/phpstan/phpstan-phpunit/rules.neon
- vendor/phpstan/phpstan-nette/extension.neon
- vendor/phpstan/phpstan-nette/rules.neon
- vendor/phpstan/phpstan-strict-rules/rules.neon
- extension.neon
parameters:
tmpDir: %rootDir%/../../../tmp
excludePaths:
- %rootDir%/../../../tests/*/data/*
exceptionRules:
reportUnusedCatchesOfUncheckedExceptions: true
uncheckedExceptions:
- LogicException
- PHPStan\ShouldNotHappenException
- PHPUnit\Framework\Exception
- Nette\DI\MissingServiceException
methodThrowTypeDeclarations:
ReflectionMethod:
getPrototype:
- ReflectionException
PHPStan\Broker\Broker:
getClass:
- PHPStan\Broker\ClassNotFoundException
getFunction:
- PHPStan\Broker\FunctionNotFoundException
PHPStan\Reflection\ClassReflection:
getMethod:
- PHPStan\Reflection\MissingMethodFromReflectionException