-
-
Notifications
You must be signed in to change notification settings - Fork 25
/
phpstan.neon
39 lines (36 loc) · 1.2 KB
/
phpstan.neon
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
34
35
36
37
38
39
includes:
- vendor/phpstan/phpstan-phpunit/extension.neon
- vendor/phpstan/phpstan-phpunit/rules.neon
- vendor/phpstan/phpstan-symfony/extension.neon
- vendor/phpstan/phpstan-symfony/rules.neon
- vendor/phpstan/phpstan-webmozart-assert/extension.neon
- vendor/phpstan/phpstan-strict-rules/rules.neon
- vendor/phpstan/phpstan/conf/bleedingEdge.neon
parameters:
phpVersion: 80300
tmpDir: /tmp/phpstan
level: max
paths:
- src
- tests
parallel:
maximumNumberOfProcesses: 4
exceptions:
uncheckedExceptionClasses:
- LogicException
check:
missingCheckedExceptionInThrows: true
tooWideThrowType: true
implicitThrows: false
symfony:
console_application_loader: .phpstan/ConsoleApplicationLoader.php
# This checks are disabled by default
checkInternalClassCaseSensitivity: true
checkTooWideReturnTypesInProtectedAndPublicMethods: true
checkUninitializedProperties: true
checkMissingCallableSignature: true
checkImplicitMixed: true
checkBenevolentUnionTypes: true
services:
exceptionTypeResolver:
class: TwigCsFixer\PHPStan\ExceptionTypeResolver