-
-
Notifications
You must be signed in to change notification settings - Fork 22
/
extension.neon
213 lines (212 loc) · 8.47 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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
includes:
- rules.neon
services:
-
class: SaschaEgerer\PhpstanTypo3\Reflection\RepositoryFindMethodsClassReflectionExtension
tags:
- phpstan.broker.methodsClassReflectionExtension
-
class: SaschaEgerer\PhpstanTypo3\Reflection\RepositoryCountByMethodsClassReflectionExtension
tags:
- phpstan.broker.methodsClassReflectionExtension
-
class: SaschaEgerer\PhpstanTypo3\Type\ObjectManagerDynamicReturnTypeExtension
tags:
- phpstan.broker.dynamicMethodReturnTypeExtension
-
class: SaschaEgerer\PhpstanTypo3\Type\QueryInterfaceDynamicReturnTypeExtension
tags:
- phpstan.broker.dynamicMethodReturnTypeExtension
-
class: SaschaEgerer\PhpstanTypo3\Type\QueryResultToArrayDynamicReturnTypeExtension
tags:
- phpstan.broker.dynamicMethodReturnTypeExtension
-
class: SaschaEgerer\PhpstanTypo3\Type\RepositoryDynamicReturnTypeExtension
tags:
- phpstan.broker.dynamicMethodReturnTypeExtension
-
class: SaschaEgerer\PhpstanTypo3\Type\ValidatorResolverDynamicReturnTypeExtension
tags:
- phpstan.broker.dynamicMethodReturnTypeExtension
-
class: SaschaEgerer\PhpstanTypo3\Type\ContextDynamicReturnTypeExtension
arguments:
contextApiGetAspectMapping: %typo3.contextApiGetAspectMapping%
tags:
- phpstan.broker.dynamicMethodReturnTypeExtension
-
class: SaschaEgerer\PhpstanTypo3\Rule\ContextAspectValidationRule
arguments:
contextApiGetAspectMapping: %typo3.contextApiGetAspectMapping%
tags:
- phpstan.rules.rule
-
class: SaschaEgerer\PhpstanTypo3\Rule\RequestAttributeValidationRule
arguments:
requestGetAttributeMapping: %typo3.requestGetAttributeMapping%
tags:
- phpstan.rules.rule
-
class: SaschaEgerer\PhpstanTypo3\Rule\SiteAttributeValidationRule
arguments:
siteGetAttributeMapping: %typo3.siteGetAttributeMapping%
tags:
- phpstan.rules.rule
-
class: SaschaEgerer\PhpstanTypo3\Type\RepositoryQueryDynamicReturnTypeExtension
tags:
- phpstan.broker.dynamicMethodReturnTypeExtension
-
class: SaschaEgerer\PhpstanTypo3\Type\RepositoryFindAllDynamicReturnTypeExtension
tags:
- phpstan.broker.dynamicMethodReturnTypeExtension
-
class: SaschaEgerer\PhpstanTypo3\Type\RequestDynamicReturnTypeExtension
arguments:
requestGetAttributeMapping: %typo3.requestGetAttributeMapping%
tags:
- phpstan.broker.dynamicMethodReturnTypeExtension
-
class: SaschaEgerer\PhpstanTypo3\Type\SiteDynamicReturnTypeExtension
arguments:
siteGetAttributeMapping: %typo3.siteGetAttributeMapping%
tags:
- phpstan.broker.dynamicMethodReturnTypeExtension
-
class: SaschaEgerer\PhpstanTypo3\Service\ValidatorClassNameResolver
-
class: SaschaEgerer\PhpstanTypo3\Type\PropertyMapperReturnTypeExtension
tags:
- phpstan.broker.dynamicMethodReturnTypeExtension
-
class: Bnf\PhpstanPsrContainer\ContainerDynamicReturnTypeExtension
tags:
- phpstan.broker.dynamicMethodReturnTypeExtension
-
class: SaschaEgerer\PhpstanTypo3\Type\MathUtilityTypeSpecifyingExtension
tags:
- phpstan.typeSpecifier.staticMethodTypeSpecifyingExtension
-
class: SaschaEgerer\PhpstanTypo3\Type\GeneralUtilityGetIndpEnvDynamicReturnTypeExtension
tags:
- phpstan.broker.dynamicStaticMethodReturnTypeExtension
-
class: SaschaEgerer\PhpstanTypo3\Stubs\StubFilesExtensionLoader
tags:
- phpstan.stubFilesExtension
-
class: SaschaEgerer\PhpstanTypo3\Type\UserAspectGetDynamicReturnTypeExtension
tags:
- phpstan.broker.dynamicMethodReturnTypeExtension
-
class: SaschaEgerer\PhpstanTypo3\Type\DateTimeAspectGetDynamicReturnTypeExtension
tags:
- phpstan.broker.dynamicMethodReturnTypeExtension
-
class: SaschaEgerer\PhpstanTypo3\Service\PrivateServiceAnalyzer
-
class: SaschaEgerer\PhpstanTypo3\Service\PrototypeServiceDefinitionChecker
# service map
typo3.serviceMapFactory:
class: SaschaEgerer\PhpstanTypo3\Contract\ServiceMapFactory
factory: SaschaEgerer\PhpstanTypo3\Service\XmlServiceMapFactory
arguments:
containerXmlPath: %typo3.containerXmlPath%
-
factory: @typo3.serviceMapFactory::create()
parameters:
bootstrapFiles:
- phpstan.bootstrap.php
typo3:
containerXmlPath: null
contextApiGetAspectMapping:
date: TYPO3\CMS\Core\Context\DateTimeAspect
visibility: TYPO3\CMS\Core\Context\VisibilityAspect
backend.user: TYPO3\CMS\Core\Context\UserAspect
frontend.user: TYPO3\CMS\Core\Context\UserAspect
workspace: TYPO3\CMS\Core\Context\WorkspaceAspect
language: TYPO3\CMS\Core\Context\LanguageAspect
typoscript: TYPO3\CMS\Core\Context\TypoScriptAspect
requestGetAttributeMapping:
backend.user: TYPO3\CMS\Backend\FrontendBackendUserAuthentication
frontend.user: TYPO3\CMS\Frontend\Authentication\FrontendUserAuthentication
language: TYPO3\CMS\Core\Site\Entity\SiteLanguage
module: TYPO3\CMS\Backend\Module\ModuleInterface
moduleData: TYPO3\CMS\Backend\Module\ModuleData
normalizedParams: TYPO3\CMS\Core\Http\NormalizedParams
site: TYPO3\CMS\Core\Site\Entity\Site
applicationType: TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::REQUESTTYPE_*
routing: TYPO3\CMS\Core\Routing\SiteRouteResult|TYPO3\CMS\Core\Routing\PageArguments
currentContentObject: TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer
frontend.controller: TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController
frontend.typoscript: TYPO3\CMS\Core\TypoScript\FrontendTypoScript
extbase: TYPO3\CMS\Extbase\Mvc\ExtbaseRequestParameters
siteGetAttributeMapping:
base: string
baseVariants: list
errorHandling: list
languages: list
rootPageId: int
routeEnhancers: array
websiteTitle: string
stubFiles:
- stubs/DomainObjectInterface.stub
- stubs/EventDispatcherInterface.stub
- stubs/ObjectStorage.stub
- stubs/QueryFactory.stub
- stubs/QueryInterface.stub
- stubs/QueryResultInterface.stub
- stubs/Repository.stub
# See SaschaEgerer\PhpstanTypo3\Stubs\StubFilesExtensionLoader
# GeneralUtility.stub is only used if TYPO3 version is < 12
#- stubs/GeneralUtility.stub
#- stubs/QueryResult.stub
dynamicConstantNames:
- TYPO3_MODE
- TYPO3_REQUESTTYPE
- TYPO3_COMPOSER_MODE
- TYPO3_branch
- TYPO3_version
- TYPO3_OS
- TYPO3_copyright_year
- PATH_thisScript
- PATH_site
- PATH_typo3conf
- PATH_typo3
- TYPO3_mainDir
earlyTerminatingMethodCalls:
TYPO3\CMS\Extbase\Mvc\Controller\ActionController:
- redirectToUri
- redirect
- forward
- forwardToReferringRequest
- throwStatus
TYPO3\CMS\Extbase\Mvc\Controller\AbstractController:
- redirectToUri
- redirect
- forward
- throwStatus
TYPO3\CMS\Core\Utility\HttpUtility:
- redirect
- setResponseCodeAndExit
TYPO3\CMS\Form\Domain\Finishers\RedirectFinisher:
- redirectToUri
TYPO3\CMS\Extbase\Mvc\Controller\CommandController:
- forward
- quit
TYPO3\CMS\Extensionmanager\Utility\FileHandlingUtility:
- sendZipFileToBrowserAndDelete
TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController:
- pageUnavailableAndExit
- pageNotFoundAndExit
- pageErrorHandler
TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList:
- pageErrorHandler
parametersSchema:
typo3: structure([
containerXmlPath: schema(string(), nullable())
contextApiGetAspectMapping: arrayOf(string())
requestGetAttributeMapping: arrayOf(string())
siteGetAttributeMapping: arrayOf(string())
])