forked from phpstan/phpstan-src
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.stubValidator.neon
39 lines (33 loc) · 1002 Bytes
/
config.stubValidator.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
parameters:
checkThisOnly: false
checkClassCaseSensitivity: true
checkGenericClassInNonGenericObjectType: true
checkMissingIterableValueType: true
checkMissingTypehints: true
checkMissingCallableSignature: false
__validate: false
services:
-
class: PHPStan\PhpDoc\StubSourceLocatorFactory
arguments:
php8Parser: @php8PhpParser
nodeScopeResolverClassReflector:
factory: @stubReflector
stubBetterReflectionProvider:
class: PHPStan\Reflection\BetterReflection\BetterReflectionProvider
arguments:
reflector: @stubReflector
autowired: false
stubReflector:
class: PHPStan\BetterReflection\Reflector\DefaultReflector
arguments:
sourceLocator: @stubSourceLocator
autowired: false
stubSourceLocator:
class: PHPStan\BetterReflection\SourceLocator\Type\SourceLocator
factory: @PHPStan\PhpDoc\StubSourceLocatorFactory::create()
autowired: false
reflectionProvider:
factory: @stubBetterReflectionProvider
autowired:
- PHPStan\Reflection\ReflectionProvider