-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathextension.neon
More file actions
64 lines (55 loc) · 1.49 KB
/
extension.neon
File metadata and controls
64 lines (55 loc) · 1.49 KB
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
59
60
61
62
63
64
parameters:
fluent:
builders: []
parametersSchema:
fluent: structure([
builders: listOf(anyOf(
structure([
builder: string(),
namespace: string()
]),
structure([
builder: string()
])
))
])
services:
fluentNamespaceDiscovery:
class: Respect\FluentAnalysis\NamespaceClassDiscovery
fluentMapBuilder:
class: Respect\FluentAnalysis\MethodMapBuilder
arguments:
discovery: @fluentNamespaceDiscovery
fluentMapFactory:
class: Respect\FluentAnalysis\MethodMapFactory
arguments:
builders: %fluent.builders%
mapBuilder: @fluentMapBuilder
fluentMethodMap:
class: Respect\FluentAnalysis\MethodMap
factory: @fluentMapFactory::createMethodMap
fluentAssuranceMap:
class: Respect\FluentAnalysis\AssuranceMap
factory: @fluentMapFactory::createAssuranceMap
-
class: Respect\FluentAnalysis\FluentMethodsExtension
arguments:
methodMap: @fluentMethodMap
tags:
- phpstan.broker.methodsClassReflectionExtension
-
class: Respect\FluentAnalysis\FluentDynamicReturnTypeExtension
arguments:
methodMap: @fluentMethodMap
assuranceMap: @fluentAssuranceMap
targetClass: Respect\Fluent\Builders\FluentBuilder
tags:
- phpstan.broker.dynamicMethodReturnTypeExtension
- phpstan.broker.dynamicStaticMethodReturnTypeExtension
-
class: Respect\FluentAnalysis\FluentTypeSpecifyingExtension
arguments:
assuranceMap: @fluentAssuranceMap
targetClass: Respect\Fluent\Builders\FluentBuilder
tags:
- phpstan.typeSpecifier.methodTypeSpecifyingExtension