-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathextension.neon
58 lines (49 loc) · 1.48 KB
/
extension.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
parameters:
mockery:
convertUnionToIntersectionType: true
stubFiles:
- stubs/MockInterface.stub
parametersSchema:
mockery: structure([
convertUnionToIntersectionType: bool()
])
services:
-
class: PHPStan\Mockery\Reflection\StubMethodsClassReflectionExtension
tags:
- phpstan.broker.methodsClassReflectionExtension
arguments:
stubInterfaceName: PHPStan\Mockery\Type\Allows
-
class: PHPStan\Mockery\Reflection\StubMethodsClassReflectionExtension
tags:
- phpstan.broker.methodsClassReflectionExtension
arguments:
stubInterfaceName: PHPStan\Mockery\Type\Expects
-
class: PHPStan\Mockery\Type\StubDynamicReturnTypeExtension
tags:
- phpstan.broker.dynamicMethodReturnTypeExtension
arguments:
stubInterfaceName: PHPStan\Mockery\Type\Allows
stubMethodName: allows
-
class: PHPStan\Mockery\Type\StubDynamicReturnTypeExtension
tags:
- phpstan.broker.dynamicMethodReturnTypeExtension
arguments:
stubInterfaceName: PHPStan\Mockery\Type\Expects
stubMethodName: expects
-
class: PHPStan\Mockery\Type\MockDynamicReturnTypeExtension
tags:
- phpstan.broker.dynamicStaticMethodReturnTypeExtension
-
class: PHPStan\Mockery\Type\MockDynamicNamedMockReturnTypeExtension
tags:
- phpstan.broker.dynamicStaticMethodReturnTypeExtension
-
class: PHPStan\Mockery\PhpDoc\TypeNodeResolverExtension
conditionalTags:
PHPStan\Mockery\PhpDoc\TypeNodeResolverExtension:
phpstan.phpDoc.typeNodeResolverExtension: %mockery.convertUnionToIntersectionType%