forked from phpstan/phpstan-nette
-
Notifications
You must be signed in to change notification settings - Fork 0
/
extension.neon
133 lines (117 loc) · 3.88 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
parameters:
additionalConstructors:
- Nette\Application\UI\Presenter::startup
exceptions:
uncheckedExceptionClasses:
- 'Nette\InvalidArgumentException'
stubFiles:
- stubs/Application/Routers/RouteList.stub
- stubs/Application/UI/Component.stub
- stubs/Application/UI/Multiplier.stub
- stubs/Caching/Cache.stub
- stubs/ComponentModel/Component.stub
- stubs/ComponentModel/Container.stub
- stubs/ComponentModel/IComponent.stub
- stubs/ComponentModel/IContainer.stub
- stubs/Database/ResultSet.stub
- stubs/Database/Table/ActiveRow.stub
- stubs/Database/Table/Selection.stub
- stubs/Forms/Container.stub
- stubs/Forms/Form.stub
- stubs/Forms/Rules.stub
- stubs/Http/SessionSection.stub
- stubs/Routing/Router.stub
- stubs/Utils/ArrayHash.stub
- stubs/Utils/Arrays.stub
- stubs/Utils/Callback.stub
- stubs/Utils/Helpers.stub
- stubs/Utils/Html.stub
- stubs/Utils/Paginator.stub
- stubs/Utils/Random.stub
universalObjectCratesClasses:
- Nette\Application\UI\ITemplate
- Nette\Application\UI\Template
- Nette\Bridges\ApplicationLatte\Template
- Nette\Database\IRow
- Nette\Http\SessionSection
- Nette\Security\Identity
- Nette\Security\SimpleIdentity
featureToggles:
skipCheckGenericClasses:
- Nette\Application\UI\Multiplier
earlyTerminatingMethodCalls:
Nette\Application\UI\Component:
- error
Nette\Application\UI\Presenter:
- redirect
- redirectUrl
- sendJson
- sendPayload
- sendResponse
- sendTemplate
- terminate
- forward
conditionalTags:
PHPStan\Type\Nette\StringsMatchDynamicReturnTypeExtension:
phpstan.broker.dynamicStaticMethodReturnTypeExtension: %featureToggles.narrowPregMatches%
PHPStan\Type\Nette\StringsMatchAllDynamicReturnTypeExtension:
phpstan.broker.dynamicStaticMethodReturnTypeExtension: %featureToggles.narrowPregMatches%
PHPStan\Type\Nette\StringsReplaceCallbackClosureTypeExtension:
phpstan.staticMethodParameterClosureTypeExtension: %featureToggles.narrowPregMatches%
services:
-
class: PHPStan\Reflection\Nette\HtmlClassReflectionExtension
tags:
- phpstan.broker.propertiesClassReflectionExtension
- phpstan.broker.methodsClassReflectionExtension
-
class: PHPStan\Reflection\Nette\NetteObjectClassReflectionExtension
tags:
- phpstan.broker.propertiesClassReflectionExtension
- phpstan.broker.methodsClassReflectionExtension
-
class: PHPStan\Type\Nette\ComponentModelArrayAccessDynamicReturnTypeExtension
tags:
- phpstan.broker.dynamicMethodReturnTypeExtension
-
class: PHPStan\Type\Nette\ComponentModelDynamicReturnTypeExtension
tags:
- phpstan.broker.dynamicMethodReturnTypeExtension
-
class: PHPStan\Type\Nette\ComponentLookupDynamicReturnTypeExtension
tags:
- phpstan.broker.dynamicMethodReturnTypeExtension
-
class: PHPStan\Type\Nette\ComponentGetPresenterDynamicReturnTypeExtension
tags:
- phpstan.broker.dynamicMethodReturnTypeExtension
-
class: PHPStan\Type\Nette\FormsBaseControlDynamicReturnTypeExtension
tags:
- phpstan.broker.dynamicMethodReturnTypeExtension
-
class: PHPStan\Type\Nette\PresenterGetSessionReturnTypeExtension
tags:
- phpstan.broker.dynamicMethodReturnTypeExtension
-
class: PHPStan\Type\Nette\ServiceLocatorDynamicReturnTypeExtension
tags:
- phpstan.broker.dynamicMethodReturnTypeExtension
-
class: PHPStan\Type\Nette\FormContainerUnsafeValuesDynamicReturnTypeExtension
tags:
- phpstan.broker.dynamicMethodReturnTypeExtension
-
class: PHPStan\Type\Nette\FormContainerValuesDynamicReturnTypeExtension
tags:
- phpstan.broker.dynamicMethodReturnTypeExtension
-
class: PHPStan\Rule\Nette\PresenterInjectedPropertiesExtension
tags:
- phpstan.properties.readWriteExtension
-
class: PHPStan\Type\Nette\StringsMatchAllDynamicReturnTypeExtension
-
class: PHPStan\Type\Nette\StringsMatchDynamicReturnTypeExtension
-
class: PHPStan\Type\Nette\StringsReplaceCallbackClosureTypeExtension