@@ -82,23 +82,23 @@ discard block |
||
82 | 82 | } |
83 | 83 | $containerTemplateHtml = []; |
84 | 84 | $containerTemplateHtml[] = '<a'; |
85 | - $containerTemplateHtml[] = 'href="#"'; |
|
86 | - $containerTemplateHtml[] = 'class="btn btn-default t3js-flex-container-add"'; |
|
87 | - $containerTemplateHtml[] = 'data-vanillauid="' . (int)$this->data['vanillaUid'] . '"'; |
|
85 | + $containerTemplateHtml[] = 'href="#"'; |
|
86 | + $containerTemplateHtml[] = 'class="btn btn-default t3js-flex-container-add"'; |
|
87 | + $containerTemplateHtml[] = 'data-vanillauid="' . (int)$this->data['vanillaUid'] . '"'; |
|
88 | 88 | // no int cast for databaseRow uid, this can be "NEW1234..." |
89 | - $containerTemplateHtml[] = 'data-databaserowuid="' . htmlspecialchars($this->data['databaseRow']['uid']) . '"'; |
|
90 | - $containerTemplateHtml[] = 'data-command="' . htmlspecialchars($this->data['command']) . '"'; |
|
91 | - $containerTemplateHtml[] = 'data-tablename="' . htmlspecialchars($this->data['tableName']) . '"'; |
|
92 | - $containerTemplateHtml[] = 'data-fieldname="' . htmlspecialchars($this->data['fieldName']) . '"'; |
|
93 | - $containerTemplateHtml[] = 'data-recordtypevalue="' . $this->data['recordTypeValue'] . '"'; |
|
94 | - $containerTemplateHtml[] = 'data-datastructureidentifier="' . htmlspecialchars($flexFormDataStructureIdentifier) . '"'; |
|
95 | - $containerTemplateHtml[] = 'data-flexformsheetname="' . htmlspecialchars($flexFormSheetName) . '"'; |
|
96 | - $containerTemplateHtml[] = 'data-flexformfieldname="' . htmlspecialchars($flexFormFieldName) . '"'; |
|
97 | - $containerTemplateHtml[] = 'data-flexformcontainername="' . htmlspecialchars($flexFormContainerName) . '"'; |
|
98 | - $containerTemplateHtml[] = 'data-target="#' . htmlspecialchars($sectionContainerId) . '"'; |
|
89 | + $containerTemplateHtml[] = 'data-databaserowuid="' . htmlspecialchars($this->data['databaseRow']['uid']) . '"'; |
|
90 | + $containerTemplateHtml[] = 'data-command="' . htmlspecialchars($this->data['command']) . '"'; |
|
91 | + $containerTemplateHtml[] = 'data-tablename="' . htmlspecialchars($this->data['tableName']) . '"'; |
|
92 | + $containerTemplateHtml[] = 'data-fieldname="' . htmlspecialchars($this->data['fieldName']) . '"'; |
|
93 | + $containerTemplateHtml[] = 'data-recordtypevalue="' . $this->data['recordTypeValue'] . '"'; |
|
94 | + $containerTemplateHtml[] = 'data-datastructureidentifier="' . htmlspecialchars($flexFormDataStructureIdentifier) . '"'; |
|
95 | + $containerTemplateHtml[] = 'data-flexformsheetname="' . htmlspecialchars($flexFormSheetName) . '"'; |
|
96 | + $containerTemplateHtml[] = 'data-flexformfieldname="' . htmlspecialchars($flexFormFieldName) . '"'; |
|
97 | + $containerTemplateHtml[] = 'data-flexformcontainername="' . htmlspecialchars($flexFormContainerName) . '"'; |
|
98 | + $containerTemplateHtml[] = 'data-target="#' . htmlspecialchars($sectionContainerId) . '"'; |
|
99 | 99 | $containerTemplateHtml[] = '>'; |
100 | - $containerTemplateHtml[] = $iconFactory->getIcon('actions-document-new', Icon::SIZE_SMALL)->render(); |
|
101 | - $containerTemplateHtml[] = htmlspecialchars(GeneralUtility::fixed_lgd_cs($containerTitle, 30)); |
|
100 | + $containerTemplateHtml[] = $iconFactory->getIcon('actions-document-new', Icon::SIZE_SMALL)->render(); |
|
101 | + $containerTemplateHtml[] = htmlspecialchars(GeneralUtility::fixed_lgd_cs($containerTitle, 30)); |
|
102 | 102 | $containerTemplateHtml[] = '</a>'; |
103 | 103 | $containerTemplatesHtml[] = implode(LF, $containerTemplateHtml); |
104 | 104 | } |
@@ -106,9 +106,9 @@ discard block |
||
106 | 106 | $createElementsHtml = []; |
107 | 107 | if ($userHasAccessToDefaultLanguage) { |
108 | 108 | $createElementsHtml[] = '<div class="t3-form-field-add-flexsection">'; |
109 | - $createElementsHtml[] = '<div class="btn-group">'; |
|
110 | - $createElementsHtml[] = implode('', $containerTemplatesHtml); |
|
111 | - $createElementsHtml[] = '</div>'; |
|
109 | + $createElementsHtml[] = '<div class="btn-group">'; |
|
110 | + $createElementsHtml[] = implode('', $containerTemplatesHtml); |
|
111 | + $createElementsHtml[] = '</div>'; |
|
112 | 112 | $createElementsHtml[] = '</div>'; |
113 | 113 | } |
114 | 114 | |
@@ -121,28 +121,28 @@ discard block |
||
121 | 121 | $toggleAll = htmlspecialchars($languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.toggleall')); |
122 | 122 | $html = []; |
123 | 123 | $html[] = '<div class="panel panel-tab">'; |
124 | - $html[] = '<div class="panel-body">'; |
|
125 | - $html[] = '<div class="t3-form-field-container t3-form-flex" id="' . htmlspecialchars($containerId) . '" data-section="#' . htmlspecialchars($sectionContainerId) . '">'; |
|
126 | - $html[] = '<div class="t3-form-field-label-flexsection">'; |
|
127 | - $html[] = '<h4>'; |
|
128 | - $html[] = htmlspecialchars($sectionTitle); |
|
129 | - $html[] = '</h4>'; |
|
130 | - $html[] = '</div>'; |
|
131 | - $html[] = '<div class="form-group">'; |
|
132 | - $html[] = '<button class="btn btn-default t3-form-flexsection-toggle" type="button" title="' . $toggleAll . '" data-expand-all="false">'; |
|
133 | - $html[] = $iconFactory->getIcon('actions-move-right', Icon::SIZE_SMALL)->render() . $toggleAll; |
|
134 | - $html[] = '</button>'; |
|
135 | - $html[] = '</div>'; |
|
136 | - $html[] = '<div'; |
|
137 | - $html[] = 'id="' . htmlspecialchars($sectionContainerId) . '"'; |
|
138 | - $html[] = 'class="panel-group panel-hover t3-form-field-container-flexsection t3-flex-container"'; |
|
139 | - $html[] = 'data-t3-flex-allow-restructure="' . ($userHasAccessToDefaultLanguage ? '1' : '0') . '"'; |
|
140 | - $html[] = '>'; |
|
141 | - $html[] = $resultArray['html']; |
|
142 | - $html[] = '</div>'; |
|
143 | - $html[] = implode(LF, $createElementsHtml); |
|
144 | - $html[] = '</div>'; |
|
145 | - $html[] = '</div>'; |
|
124 | + $html[] = '<div class="panel-body">'; |
|
125 | + $html[] = '<div class="t3-form-field-container t3-form-flex" id="' . htmlspecialchars($containerId) . '" data-section="#' . htmlspecialchars($sectionContainerId) . '">'; |
|
126 | + $html[] = '<div class="t3-form-field-label-flexsection">'; |
|
127 | + $html[] = '<h4>'; |
|
128 | + $html[] = htmlspecialchars($sectionTitle); |
|
129 | + $html[] = '</h4>'; |
|
130 | + $html[] = '</div>'; |
|
131 | + $html[] = '<div class="form-group">'; |
|
132 | + $html[] = '<button class="btn btn-default t3-form-flexsection-toggle" type="button" title="' . $toggleAll . '" data-expand-all="false">'; |
|
133 | + $html[] = $iconFactory->getIcon('actions-move-right', Icon::SIZE_SMALL)->render() . $toggleAll; |
|
134 | + $html[] = '</button>'; |
|
135 | + $html[] = '</div>'; |
|
136 | + $html[] = '<div'; |
|
137 | + $html[] = 'id="' . htmlspecialchars($sectionContainerId) . '"'; |
|
138 | + $html[] = 'class="panel-group panel-hover t3-form-field-container-flexsection t3-flex-container"'; |
|
139 | + $html[] = 'data-t3-flex-allow-restructure="' . ($userHasAccessToDefaultLanguage ? '1' : '0') . '"'; |
|
140 | + $html[] = '>'; |
|
141 | + $html[] = $resultArray['html']; |
|
142 | + $html[] = '</div>'; |
|
143 | + $html[] = implode(LF, $createElementsHtml); |
|
144 | + $html[] = '</div>'; |
|
145 | + $html[] = '</div>'; |
|
146 | 146 | $html[] = '</div>'; |
147 | 147 | |
148 | 148 | $resultArray['html'] = implode(LF, $html); |
@@ -141,12 +141,12 @@ discard block |
||
141 | 141 | $storages = $user->getFileStorages(); |
142 | 142 | foreach ($storages as $resourceStorage) { |
143 | 143 | $processingFolders = $resourceStorage->getProcessingFolders(); |
144 | - $processingFolderIdentifiers = array_map(function ($folder) { |
|
144 | + $processingFolderIdentifiers = array_map(function($folder) { |
|
145 | 145 | return $folder->getIdentifier(); |
146 | 146 | }, $processingFolders); |
147 | - $resourceStorage->addFileAndFolderNameFilter(function ($itemName, $itemIdentifier, $parentIdentifier, array $additionalInformation, DriverInterface $driver) use ($resourceStorage, $search, $processingFolderIdentifiers) { |
|
147 | + $resourceStorage->addFileAndFolderNameFilter(function($itemName, $itemIdentifier, $parentIdentifier, array $additionalInformation, DriverInterface $driver) use ($resourceStorage, $search, $processingFolderIdentifiers) { |
|
148 | 148 | // Skip items in processing folders |
149 | - $isInProcessingFolder = array_filter($processingFolderIdentifiers, function ($processingFolderIdentifier) use ($parentIdentifier) { |
|
149 | + $isInProcessingFolder = array_filter($processingFolderIdentifiers, function($processingFolderIdentifier) use ($parentIdentifier) { |
|
150 | 150 | return stripos($parentIdentifier, $processingFolderIdentifier) !== false; |
151 | 151 | }); |
152 | 152 | if (!empty($isInProcessingFolder)) { |
@@ -236,7 +236,7 @@ discard block |
||
236 | 236 | { |
237 | 237 | $fileMounts = $resourceStorage->getFileMounts(); |
238 | 238 | if (!empty($fileMounts)) { |
239 | - return array_map(function ($fileMountInfo) { |
|
239 | + return array_map(function($fileMountInfo) { |
|
240 | 240 | return [ |
241 | 241 | 'folder' => $fileMountInfo['folder'], |
242 | 242 | 'name' => $fileMountInfo['title'], |
@@ -79,7 +79,7 @@ discard block |
||
79 | 79 | */ |
80 | 80 | public function getActiveProviders(AbstractUserAuthentication $user): array |
81 | 81 | { |
82 | - return array_filter($this->providers, static function ($provider) use ($user) { |
|
82 | + return array_filter($this->providers, static function($provider) use ($user) { |
|
83 | 83 | return $provider->isActive(MfaProviderPropertyManager::create($provider, $user)); |
84 | 84 | }); |
85 | 85 | } |
@@ -131,7 +131,7 @@ discard block |
||
131 | 131 | */ |
132 | 132 | public function getLockedProviders(AbstractUserAuthentication $user): array |
133 | 133 | { |
134 | - return array_filter($this->providers, static function ($provider) use ($user) { |
|
134 | + return array_filter($this->providers, static function($provider) use ($user) { |
|
135 | 135 | return $provider->isLocked(MfaProviderPropertyManager::create($provider, $user)); |
136 | 136 | }); |
137 | 137 | } |
@@ -27,6 +27,6 @@ |
||
27 | 27 | class MfaViewType extends Enumeration |
28 | 28 | { |
29 | 29 | public const SETUP = 'setup'; |
30 | - public const EDIT ='edit'; |
|
31 | - public const AUTH ='auth'; |
|
30 | + public const EDIT = 'edit'; |
|
31 | + public const AUTH = 'auth'; |
|
32 | 32 | } |
@@ -101,35 +101,35 @@ |
||
101 | 101 | |
102 | 102 | $html = []; |
103 | 103 | $html[] = '<div ' . GeneralUtility::implodeAttributes($containerAttributes, true) . '>'; |
104 | - $html[] = '<input class="t3js-flex-control-action" type="hidden" name="' . htmlspecialchars($actionFieldName) . '" value="" />'; |
|
105 | - $html[] = '<div ' . GeneralUtility::implodeAttributes($panelHeaderAttributes, true) . '>'; |
|
106 | - $html[] = '<div class="form-irre-header ' . ($flexFormContainerElementCollapsed ? ' collapsed' : '') . '">'; |
|
107 | - $html[] = '<div class="form-irre-header-cell form-irre-header-icon">'; |
|
108 | - $html[] = '<span class="caret"></span>'; |
|
109 | - $html[] = '</div>'; |
|
110 | - $html[] = '<button ' . GeneralUtility::implodeAttributes($toggleAttributes, true) . '>'; |
|
111 | - $html[] = '<div class="form-irre-header-cell form-irre-header-body">'; |
|
112 | - $html[] = htmlspecialchars($containerTitle); |
|
113 | - $html[] = '<output class="content-preview"></output>'; |
|
114 | - $html[] = '</div>'; |
|
115 | - $html[] = '</button>'; |
|
116 | - $html[] = '<div class="form-irre-header-cell form-irre-header-control t3js-formengine-irre-control">'; |
|
117 | - $html[] = '<div class="btn-group btn-group-sm">'; |
|
118 | - $html[] = implode(LF, $moveAndDeleteContent); |
|
119 | - $html[] = '</div>'; |
|
120 | - $html[] = '</div>'; |
|
121 | - $html[] = '</div>'; |
|
122 | - $html[] = '</div>'; |
|
123 | - $html[] = '<div id="' . htmlspecialchars($flexFormDomContainerId) . '" class="collapse t3js-flex-section-content ' . ($flexFormContainerElementCollapsed ? '' : 'show') . '">'; |
|
124 | - $html[] = $containerContentResult['html']; |
|
125 | - $html[] = '</div>'; |
|
126 | - $html[] = '<input'; |
|
127 | - $html[] = 'class="t3js-flex-control-toggle"'; |
|
128 | - $html[] = 'type="hidden"'; |
|
129 | - $html[] = 'id="flexform-toggle-container-' . htmlspecialchars($flexFormContainerIdentifier) . '"'; |
|
130 | - $html[] = 'name="' . htmlspecialchars($toggleFieldName) . '"'; |
|
131 | - $html[] = 'value="' . ($flexFormContainerElementCollapsed ? '1' : '0') . '"'; |
|
132 | - $html[] = '/>'; |
|
104 | + $html[] = '<input class="t3js-flex-control-action" type="hidden" name="' . htmlspecialchars($actionFieldName) . '" value="" />'; |
|
105 | + $html[] = '<div ' . GeneralUtility::implodeAttributes($panelHeaderAttributes, true) . '>'; |
|
106 | + $html[] = '<div class="form-irre-header ' . ($flexFormContainerElementCollapsed ? ' collapsed' : '') . '">'; |
|
107 | + $html[] = '<div class="form-irre-header-cell form-irre-header-icon">'; |
|
108 | + $html[] = '<span class="caret"></span>'; |
|
109 | + $html[] = '</div>'; |
|
110 | + $html[] = '<button ' . GeneralUtility::implodeAttributes($toggleAttributes, true) . '>'; |
|
111 | + $html[] = '<div class="form-irre-header-cell form-irre-header-body">'; |
|
112 | + $html[] = htmlspecialchars($containerTitle); |
|
113 | + $html[] = '<output class="content-preview"></output>'; |
|
114 | + $html[] = '</div>'; |
|
115 | + $html[] = '</button>'; |
|
116 | + $html[] = '<div class="form-irre-header-cell form-irre-header-control t3js-formengine-irre-control">'; |
|
117 | + $html[] = '<div class="btn-group btn-group-sm">'; |
|
118 | + $html[] = implode(LF, $moveAndDeleteContent); |
|
119 | + $html[] = '</div>'; |
|
120 | + $html[] = '</div>'; |
|
121 | + $html[] = '</div>'; |
|
122 | + $html[] = '</div>'; |
|
123 | + $html[] = '<div id="' . htmlspecialchars($flexFormDomContainerId) . '" class="collapse t3js-flex-section-content ' . ($flexFormContainerElementCollapsed ? '' : 'show') . '">'; |
|
124 | + $html[] = $containerContentResult['html']; |
|
125 | + $html[] = '</div>'; |
|
126 | + $html[] = '<input'; |
|
127 | + $html[] = 'class="t3js-flex-control-toggle"'; |
|
128 | + $html[] = 'type="hidden"'; |
|
129 | + $html[] = 'id="flexform-toggle-container-' . htmlspecialchars($flexFormContainerIdentifier) . '"'; |
|
130 | + $html[] = 'name="' . htmlspecialchars($toggleFieldName) . '"'; |
|
131 | + $html[] = 'value="' . ($flexFormContainerElementCollapsed ? '1' : '0') . '"'; |
|
132 | + $html[] = '/>'; |
|
133 | 133 | $html[] = '</div>'; |
134 | 134 | |
135 | 135 | $resultArray['html'] = implode(LF, $html); |
@@ -40,56 +40,56 @@ |
||
40 | 40 | public function getFactories(): array |
41 | 41 | { |
42 | 42 | return [ |
43 | - SymfonyEventDispatcher::class => [ static::class, 'getSymfonyEventDispatcher' ], |
|
44 | - Cache\CacheManager::class => [ static::class, 'getCacheManager' ], |
|
45 | - Charset\CharsetConverter::class => [ static::class, 'getCharsetConverter' ], |
|
46 | - Configuration\SiteConfiguration::class => [ static::class, 'getSiteConfiguration' ], |
|
47 | - Command\ListCommand::class => [ static::class, 'getListCommand' ], |
|
48 | - HelpCommand::class => [ static::class, 'getHelpCommand' ], |
|
49 | - Command\DumpAutoloadCommand::class => [ static::class, 'getDumpAutoloadCommand' ], |
|
50 | - Console\CommandApplication::class => [ static::class, 'getConsoleCommandApplication' ], |
|
51 | - Console\CommandRegistry::class => [ static::class, 'getConsoleCommandRegistry' ], |
|
52 | - Context\Context::class => [ static::class, 'getContext' ], |
|
53 | - Core\BootService::class => [ static::class, 'getBootService' ], |
|
54 | - Crypto\PasswordHashing\PasswordHashFactory::class => [ static::class, 'getPasswordHashFactory' ], |
|
55 | - EventDispatcher\EventDispatcher::class => [ static::class, 'getEventDispatcher' ], |
|
56 | - EventDispatcher\ListenerProvider::class => [ static::class, 'getEventListenerProvider' ], |
|
57 | - Http\MiddlewareStackResolver::class => [ static::class, 'getMiddlewareStackResolver' ], |
|
58 | - Http\RequestFactory::class => [ static::class, 'getRequestFactory' ], |
|
59 | - Imaging\IconFactory::class => [ static::class, 'getIconFactory' ], |
|
60 | - Imaging\IconProvider\FontawesomeIconProvider::class => [ static::class, 'getFontawesomeIconProvider' ], |
|
61 | - Imaging\IconRegistry::class => [ static::class, 'getIconRegistry' ], |
|
62 | - Localization\LanguageServiceFactory::class => [ static::class, 'getLanguageServiceFactory' ], |
|
63 | - Localization\LanguageStore::class => [ static::class, 'getLanguageStore' ], |
|
64 | - Localization\Locales::class => [ static::class, 'getLocales' ], |
|
65 | - Localization\LocalizationFactory::class => [ static::class, 'getLocalizationFactory' ], |
|
66 | - Mail\TransportFactory::class => [ static::class, 'getMailTransportFactory' ], |
|
67 | - Messaging\FlashMessageService::class => [ static::class, 'getFlashMessageService' ], |
|
68 | - Middleware\ResponsePropagation::class => [ static::class, 'getResponsePropagationMiddleware' ], |
|
69 | - Package\FailsafePackageManager::class => [ static::class, 'getFailsafePackageManager' ], |
|
70 | - Registry::class => [ static::class, 'getRegistry' ], |
|
71 | - Resource\Index\FileIndexRepository::class => [ static::class, 'getFileIndexRepository' ], |
|
72 | - Resource\Index\MetaDataRepository::class => [ static::class, 'getMetaDataRepository' ], |
|
73 | - Resource\Driver\DriverRegistry::class => [ static::class, 'getDriverRegistry' ], |
|
74 | - Resource\ProcessedFileRepository::class => [ static::class, 'getProcessedFileRepository' ], |
|
75 | - Resource\ResourceFactory::class => [ static::class, 'getResourceFactory' ], |
|
76 | - Resource\StorageRepository::class => [ static::class, 'getStorageRepository' ], |
|
77 | - Service\DependencyOrderingService::class => [ static::class, 'getDependencyOrderingService' ], |
|
78 | - Service\FlexFormService::class => [ static::class, 'getFlexFormService' ], |
|
79 | - Service\OpcodeCacheService::class => [ static::class, 'getOpcodeCacheService' ], |
|
80 | - TimeTracker\TimeTracker::class => [ static::class, 'getTimeTracker' ], |
|
81 | - TypoScript\Parser\ConstantConfigurationParser::class => [ static::class, 'getTypoScriptConstantConfigurationParser' ], |
|
82 | - TypoScript\TypoScriptService::class => [ static::class, 'getTypoScriptService' ], |
|
83 | - 'middlewares' => [ static::class, 'getMiddlewares' ], |
|
43 | + SymfonyEventDispatcher::class => [static::class, 'getSymfonyEventDispatcher'], |
|
44 | + Cache\CacheManager::class => [static::class, 'getCacheManager'], |
|
45 | + Charset\CharsetConverter::class => [static::class, 'getCharsetConverter'], |
|
46 | + Configuration\SiteConfiguration::class => [static::class, 'getSiteConfiguration'], |
|
47 | + Command\ListCommand::class => [static::class, 'getListCommand'], |
|
48 | + HelpCommand::class => [static::class, 'getHelpCommand'], |
|
49 | + Command\DumpAutoloadCommand::class => [static::class, 'getDumpAutoloadCommand'], |
|
50 | + Console\CommandApplication::class => [static::class, 'getConsoleCommandApplication'], |
|
51 | + Console\CommandRegistry::class => [static::class, 'getConsoleCommandRegistry'], |
|
52 | + Context\Context::class => [static::class, 'getContext'], |
|
53 | + Core\BootService::class => [static::class, 'getBootService'], |
|
54 | + Crypto\PasswordHashing\PasswordHashFactory::class => [static::class, 'getPasswordHashFactory'], |
|
55 | + EventDispatcher\EventDispatcher::class => [static::class, 'getEventDispatcher'], |
|
56 | + EventDispatcher\ListenerProvider::class => [static::class, 'getEventListenerProvider'], |
|
57 | + Http\MiddlewareStackResolver::class => [static::class, 'getMiddlewareStackResolver'], |
|
58 | + Http\RequestFactory::class => [static::class, 'getRequestFactory'], |
|
59 | + Imaging\IconFactory::class => [static::class, 'getIconFactory'], |
|
60 | + Imaging\IconProvider\FontawesomeIconProvider::class => [static::class, 'getFontawesomeIconProvider'], |
|
61 | + Imaging\IconRegistry::class => [static::class, 'getIconRegistry'], |
|
62 | + Localization\LanguageServiceFactory::class => [static::class, 'getLanguageServiceFactory'], |
|
63 | + Localization\LanguageStore::class => [static::class, 'getLanguageStore'], |
|
64 | + Localization\Locales::class => [static::class, 'getLocales'], |
|
65 | + Localization\LocalizationFactory::class => [static::class, 'getLocalizationFactory'], |
|
66 | + Mail\TransportFactory::class => [static::class, 'getMailTransportFactory'], |
|
67 | + Messaging\FlashMessageService::class => [static::class, 'getFlashMessageService'], |
|
68 | + Middleware\ResponsePropagation::class => [static::class, 'getResponsePropagationMiddleware'], |
|
69 | + Package\FailsafePackageManager::class => [static::class, 'getFailsafePackageManager'], |
|
70 | + Registry::class => [static::class, 'getRegistry'], |
|
71 | + Resource\Index\FileIndexRepository::class => [static::class, 'getFileIndexRepository'], |
|
72 | + Resource\Index\MetaDataRepository::class => [static::class, 'getMetaDataRepository'], |
|
73 | + Resource\Driver\DriverRegistry::class => [static::class, 'getDriverRegistry'], |
|
74 | + Resource\ProcessedFileRepository::class => [static::class, 'getProcessedFileRepository'], |
|
75 | + Resource\ResourceFactory::class => [static::class, 'getResourceFactory'], |
|
76 | + Resource\StorageRepository::class => [static::class, 'getStorageRepository'], |
|
77 | + Service\DependencyOrderingService::class => [static::class, 'getDependencyOrderingService'], |
|
78 | + Service\FlexFormService::class => [static::class, 'getFlexFormService'], |
|
79 | + Service\OpcodeCacheService::class => [static::class, 'getOpcodeCacheService'], |
|
80 | + TimeTracker\TimeTracker::class => [static::class, 'getTimeTracker'], |
|
81 | + TypoScript\Parser\ConstantConfigurationParser::class => [static::class, 'getTypoScriptConstantConfigurationParser'], |
|
82 | + TypoScript\TypoScriptService::class => [static::class, 'getTypoScriptService'], |
|
83 | + 'middlewares' => [static::class, 'getMiddlewares'], |
|
84 | 84 | ]; |
85 | 85 | } |
86 | 86 | |
87 | 87 | public function getExtensions(): array |
88 | 88 | { |
89 | 89 | return [ |
90 | - Console\CommandRegistry::class => [ static::class, 'configureCommands' ], |
|
91 | - EventDispatcherInterface::class => [ static::class, 'provideFallbackEventDispatcher' ], |
|
92 | - EventDispatcher\ListenerProvider::class => [ static::class, 'extendEventListenerProvider' ], |
|
90 | + Console\CommandRegistry::class => [static::class, 'configureCommands'], |
|
91 | + EventDispatcherInterface::class => [static::class, 'provideFallbackEventDispatcher'], |
|
92 | + EventDispatcher\ListenerProvider::class => [static::class, 'extendEventListenerProvider'], |
|
93 | 93 | ] + parent::getExtensions(); |
94 | 94 | } |
95 | 95 |
@@ -109,8 +109,7 @@ |
||
109 | 109 | |
110 | 110 | /** @var IconProviderInterface $iconProvider */ |
111 | 111 | $iconProvider = $this->container->has($iconConfiguration['provider']) ? |
112 | - $this->container->get($iconConfiguration['provider']) : |
|
113 | - GeneralUtility::makeInstance($iconConfiguration['provider']); |
|
112 | + $this->container->get($iconConfiguration['provider']) : GeneralUtility::makeInstance($iconConfiguration['provider']); |
|
114 | 113 | $iconProvider->prepareIconMarkup($icon, $iconConfiguration['options']); |
115 | 114 | |
116 | 115 | static::$iconCache[$cacheIdentifier] = $icon; |
@@ -972,7 +972,7 @@ |
||
972 | 972 | protected function escape(array $strings): array |
973 | 973 | { |
974 | 974 | return array_map( |
975 | - function (string $value): string { |
|
975 | + function(string $value): string { |
|
976 | 976 | return htmlspecialchars($value, ENT_QUOTES, 'UTF-8'); |
977 | 977 | }, |
978 | 978 | $strings |
@@ -135,7 +135,7 @@ |
||
135 | 135 | */ |
136 | 136 | protected function getAlternativeProviders(MfaProviderManifestInterface $mfaProvider): array |
137 | 137 | { |
138 | - return array_filter($this->allowedProviders, function ($provider) use ($mfaProvider) { |
|
138 | + return array_filter($this->allowedProviders, function($provider) use ($mfaProvider) { |
|
139 | 139 | return $provider !== $mfaProvider |
140 | 140 | && $provider->isActive(MfaProviderPropertyManager::create($provider, $this->getBackendUser())); |
141 | 141 | }); |