-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.phpstorm.meta.php
75 lines (65 loc) · 4.31 KB
/
.phpstorm.meta.php
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
<?php
/**
* Extend PhpStorms code completion capabilities by providing a meta file
*
* @link https://www.jetbrains.com/help/phpstorm/ide-advanced-metadata.html
*/
namespace PHPSTORM_META {
expectedArguments(\TYPO3\CMS\Core\Context\Context::getAspect(), 0, 'backend.user', 'date', 'frontend.user',
'language', 'typoscript', 'visibility', 'workspace');
override(\TYPO3\CMS\Core\Context\Context::getAspect(), map([
'backend.user' => \TYPO3\CMS\Core\Context\UserAspect::class,
'date' => \TYPO3\CMS\Core\Context\DateTimeAspect::class,
'frontend.user' => \TYPO3\CMS\Core\Context\UserAspect::class,
'language' => \TYPO3\CMS\Core\Context\LanguageAspect::class,
'typoscript' => \TYPO3\CMS\Core\Context\TypoScriptAspect::class,
'visibility' => \TYPO3\CMS\Core\Context\VisibilityAspect::class,
'workspace' => \TYPO3\CMS\Core\Context\WorkspaceAspect::class,
]));
expectedArguments(\TYPO3\CMS\Core\Context\DateTimeAspect::get(), 0, 'accessTime', 'full', 'iso', 'timestamp',
'timezone');
expectedArguments(\TYPO3\CMS\Core\Context\VisibilityAspect::get(), 0, 'includeDeletedRecords',
'includeHiddenContent', 'includeHiddenPages');
expectedArguments(\TYPO3\CMS\Core\Context\UserAspect::get(), 0, 'groupIds', 'groupNames', 'id', 'isAdmin',
'isLoggedIn', 'username');
expectedArguments(\TYPO3\CMS\Core\Context\WorkspaceAspect::get(), 0, 'id', 'isLive', 'isOffline');
expectedArguments(\TYPO3\CMS\Core\Context\LanguageAspect::get(), 0, 'contentId', 'fallbackChain', 'id',
'legacyLanguageMode', 'legacyOverlayType', 'overlayType');
expectedArguments(\TYPO3\CMS\Core\Context\TypoScriptAspect::get(), 0, 'forcedTemplateParsing');
expectedArguments(\Psr\Http\Message\ServerRequestInterface::getAttribute(), 0, 'frontend.controller',
'frontend.typoscript', 'frontend.user', 'language', 'module', 'moduleData', 'normalizedParams', 'routing',
'site');
override(\Psr\Http\Message\ServerRequestInterface::getAttribute(), map([
'frontend.controller' => \TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::class,
'frontend.typoscript' => \TYPO3\CMS\Core\TypoScript\FrontendTypoScript::class,
'frontend.user' => \TYPO3\CMS\Frontend\Authentication\FrontendUserAuthentication::class,
'language' => \TYPO3\CMS\Core\Site\Entity\SiteLanguage::class,
'module' => \TYPO3\CMS\Backend\Module\ModuleInterface::class,
'moduleData' => \TYPO3\CMS\Backend\Module\ModuleData::class,
'normalizedParams' => \TYPO3\CMS\Core\Http\NormalizedParams::class,
'routing' => '\TYPO3\CMS\Core\Routing\SiteRouteResult|\TYPO3\CMS\Core\Routing\PageArguments',
'site' => \TYPO3\CMS\Core\Site\Entity\SiteInterface::class,
]));
expectedArguments(\TYPO3\CMS\Core\Http\ServerRequest::getAttribute(), 0, 'frontend.user', 'language', 'module',
'moduleData', 'normalizedParams', 'routing', 'site');
override(\TYPO3\CMS\Core\Http\ServerRequest::getAttribute(), map([
'frontend.user' => \TYPO3\CMS\Frontend\Authentication\FrontendUserAuthentication::class,
'language' => \TYPO3\CMS\Core\Site\Entity\SiteLanguage::class,
'module' => \TYPO3\CMS\Backend\Module\ModuleInterface::class,
'moduleData' => \TYPO3\CMS\Backend\Module\ModuleData::class,
'normalizedParams' => \TYPO3\CMS\Core\Http\NormalizedParams::class,
'routing' => '\TYPO3\CMS\Core\Routing\SiteRouteResult|\TYPO3\CMS\Core\Routing\PageArguments',
'site' => \TYPO3\CMS\Core\Site\Entity\SiteInterface::class,
]));
override(\TYPO3\CMS\Core\Routing\SiteMatcher::matchRequest(),
type(\TYPO3\CMS\Core\Routing\SiteRouteResult::class, \TYPO3\CMS\Core\Routing\RouteResultInterface::class,));
override(\TYPO3\CMS\Core\Routing\PageRouter::matchRequest(),
type(\TYPO3\CMS\Core\Routing\PageArguments::class, \TYPO3\CMS\Core\Routing\RouteResultInterface::class,));
override(\Psr\Container\ContainerInterface::get(0), map([
'' => '@',
]));
override(\Psr\EventDispatcher\EventDispatcherInterface::dispatch(0), map([
'' => '@',
]));
override(\TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(0), type(0));
}