@@ -105,9 +105,9 @@ |
||
105 | 105 | |
106 | 106 | return !isset($result['maintained_until']) || |
107 | 107 | ( |
108 | - new \DateTimeImmutable($result['maintained_until']) >= |
|
109 | - new \DateTimeImmutable('now', new \DateTimeZone('UTC')) |
|
110 | - ); |
|
108 | + new \DateTimeImmutable($result['maintained_until']) >= |
|
109 | + new \DateTimeImmutable('now', new \DateTimeZone('UTC')) |
|
110 | + ); |
|
111 | 111 | } |
112 | 112 | |
113 | 113 | /** |
@@ -700,9 +700,9 @@ |
||
700 | 700 | $iconPath = PathUtility::stripPathSitePrefix($fullPath); |
701 | 701 | $this->iconFileNameCache[$imageType] = $imageInfo->getWidth() |
702 | 702 | ? '<img src="' . $iconPath |
703 | - . '" width="' . $imageInfo->getWidth() |
|
704 | - . '" height="' . $imageInfo->getHeight() |
|
705 | - . '" title="' . htmlspecialchars($alt) . '" alt="" />' |
|
703 | + . '" width="' . $imageInfo->getWidth() |
|
704 | + . '" height="' . $imageInfo->getHeight() |
|
705 | + . '" title="' . htmlspecialchars($alt) . '" alt="" />' |
|
706 | 706 | : ''; |
707 | 707 | } |
708 | 708 | } |
@@ -125,7 +125,7 @@ |
||
125 | 125 | ($module instanceof ConfigurableInterface && $module->isEnabled()) |
126 | 126 | || !($module instanceof ConfigurableInterface) |
127 | 127 | ) |
128 | - ) { |
|
128 | + ) { |
|
129 | 129 | $module->onSubmit($configurationToSave, $request); |
130 | 130 | } |
131 | 131 | if ($module instanceof SubmoduleProviderInterface) { |
@@ -52,8 +52,8 @@ |
||
52 | 52 | public function __construct(ConfigurationService $configurationService = null, ModuleLoader $moduleLoader = null) |
53 | 53 | { |
54 | 54 | $this->configurationService = $configurationService |
55 | - ?? |
|
56 | - GeneralUtility::makeInstance(ConfigurationService::class); |
|
55 | + ?? |
|
56 | + GeneralUtility::makeInstance(ConfigurationService::class); |
|
57 | 57 | $this->adminPanelModuleConfiguration = $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['adminpanel']['modules'] ?? []; |
58 | 58 | $this->moduleLoader = $moduleLoader ?? GeneralUtility::makeInstance(ModuleLoader::class); |
59 | 59 | } |
@@ -81,8 +81,8 @@ |
||
81 | 81 | $this->moduleLoader = $moduleLoader ?? GeneralUtility::makeInstance(ModuleLoader::class); |
82 | 82 | $this->uriBuilder = $uriBuilder ?? GeneralUtility::makeInstance(UriBuilder::class); |
83 | 83 | $this->configurationService = $configurationService |
84 | - ?? |
|
85 | - GeneralUtility::makeInstance(ConfigurationService::class); |
|
84 | + ?? |
|
85 | + GeneralUtility::makeInstance(ConfigurationService::class); |
|
86 | 86 | $this->adminPanelModuleConfiguration = $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['adminpanel']['modules'] ?? []; |
87 | 87 | } |
88 | 88 |
@@ -106,7 +106,7 @@ discard block |
||
106 | 106 | public function getDescription(): string |
107 | 107 | { |
108 | 108 | return 'Form definition files need to be named *.form.yaml to have a way of distinguishing form yaml ' . |
109 | - 'configuration files from other yaml configuration files. This wizard will analyze and rename found files.'; |
|
109 | + 'configuration files from other yaml configuration files. This wizard will analyze and rename found files.'; |
|
110 | 110 | } |
111 | 111 | |
112 | 112 | /** |
@@ -187,8 +187,8 @@ discard block |
||
187 | 187 | } else { |
188 | 188 | $this->output->writeln( |
189 | 189 | '<warning>There are references to form definitions which are located in extensions and thus cannot be renamed automatically by this wizard.' |
190 | - . 'This form definitions from extensions that do not end with .form.yaml have to be renamed by hand!' |
|
191 | - . 'After that you can run this wizard again to migrate the references.</warning>' |
|
190 | + . 'This form definitions from extensions that do not end with .form.yaml have to be renamed by hand!' |
|
191 | + . 'After that you can run this wizard again to migrate the references.</warning>' |
|
192 | 192 | ); |
193 | 193 | } |
194 | 194 | } |
@@ -345,7 +345,7 @@ discard block |
||
345 | 345 | $success = false; |
346 | 346 | $this->output->writeln(sprintf( |
347 | 347 | '<error>Failed to rename form definition "%s" to "%s". You have to be rename it by hand!. ' |
348 | - . 'After that you can run this wizard again to migrate the references.</error>', |
|
348 | + . 'After that you can run this wizard again to migrate the references.</error>', |
|
349 | 349 | $formDefinitionInformation['persistenceIdentifier'], |
350 | 350 | $this->getNewPersistenceIdentifier($formDefinitionInformation['persistenceIdentifier']) |
351 | 351 | )); |
@@ -88,8 +88,8 @@ |
||
88 | 88 | public function getDescription(): string |
89 | 89 | { |
90 | 90 | return 'The extension "rsaauth" adds a public/private key based encryption for Backend and Frontend' |
91 | - . ' login passwords. The approach is limited and has various flaws. The extension is fully' |
|
92 | - . ' obsolete if the instance uses HTTPS.'; |
|
91 | + . ' login passwords. The approach is limited and has various flaws. The extension is fully' |
|
92 | + . ' obsolete if the instance uses HTTPS.'; |
|
93 | 93 | } |
94 | 94 | |
95 | 95 | /** |
@@ -88,7 +88,7 @@ |
||
88 | 88 | public function getDescription(): string |
89 | 89 | { |
90 | 90 | return 'The extension "taskcenter" adds a view for Backend users to run configured tasks.' |
91 | - . ' It is only useful if properly configured.'; |
|
91 | + . ' It is only useful if properly configured.'; |
|
92 | 92 | } |
93 | 93 | |
94 | 94 | /** |
@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | if (!empty($GLOBALS['TBE_STYLES']['stylesheets']['admPanel'])) { |
82 | 82 | $stylesheet = GeneralUtility::locationHeaderUrl($GLOBALS['TBE_STYLES']['stylesheets']['admPanel']); |
83 | 83 | $result = '<link rel="stylesheet" type="text/css" href="' . |
84 | - htmlspecialchars($stylesheet, ENT_QUOTES | ENT_HTML5) . '" />'; |
|
84 | + htmlspecialchars($stylesheet, ENT_QUOTES | ENT_HTML5) . '" />'; |
|
85 | 85 | } |
86 | 86 | return $result; |
87 | 87 | } |
@@ -95,11 +95,11 @@ discard block |
||
95 | 95 | protected static function getCssTag(string $cssFileLocation): string |
96 | 96 | { |
97 | 97 | $css = '<link type="text/css" rel="stylesheet" href="' . |
98 | - htmlspecialchars( |
|
99 | - PathUtility::getAbsoluteWebPath(GeneralUtility::getFileAbsFileName($cssFileLocation)), |
|
100 | - ENT_QUOTES | ENT_HTML5 |
|
101 | - ) . |
|
102 | - '" media="all" />'; |
|
98 | + htmlspecialchars( |
|
99 | + PathUtility::getAbsoluteWebPath(GeneralUtility::getFileAbsFileName($cssFileLocation)), |
|
100 | + ENT_QUOTES | ENT_HTML5 |
|
101 | + ) . |
|
102 | + '" media="all" />'; |
|
103 | 103 | return $css; |
104 | 104 | } |
105 | 105 | |
@@ -112,11 +112,11 @@ discard block |
||
112 | 112 | protected static function getJsTag(string $jsFileLocation): string |
113 | 113 | { |
114 | 114 | $js = '<script src="' . |
115 | - htmlspecialchars( |
|
116 | - PathUtility::getAbsoluteWebPath(GeneralUtility::getFileAbsFileName($jsFileLocation)), |
|
117 | - ENT_QUOTES | ENT_HTML5 |
|
118 | - ) . |
|
119 | - '"></script>'; |
|
115 | + htmlspecialchars( |
|
116 | + PathUtility::getAbsoluteWebPath(GeneralUtility::getFileAbsFileName($jsFileLocation)), |
|
117 | + ENT_QUOTES | ENT_HTML5 |
|
118 | + ) . |
|
119 | + '"></script>'; |
|
120 | 120 | return $js; |
121 | 121 | } |
122 | 122 |