From 58389eab3af75e2c4431cd88ad6c93d0784a3e49 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 11 May 2023 12:38:20 +0000 Subject: [PATCH] Apply fixes from StyleCI --- Classes/Controller/EditorController.php | 1 - Classes/DataProcessing/HeaderLinkDataProcessor.php | 1 - Classes/DataProcessing/ThemesIconDataProcessor.php | 1 - Classes/DataProcessing/ThemesResponsiveColumnDataProcessor.php | 1 - Classes/DataProcessing/ThemesResponsiveDataProcessor.php | 1 - Classes/Frontend/CssClassMapper.php | 1 - Classes/Hooks/PageRenderer.php | 1 - Classes/Hooks/ThemesDomainRepositoryThemeRepositoryInitHook.php | 1 - Classes/Slots/BackendUtilitySlot.php | 1 - Classes/Tca/ContentEnforceEqualColumnHeight.php | 2 -- Classes/Tca/ContentResponsive.php | 2 -- Classes/Tca/ContentVariants.php | 1 - Classes/Utilities/ApplicationContext.php | 1 - Classes/Utilities/FindParentPageWithThemeUtility.php | 1 - Classes/Utilities/ThemeEnabledCondition.php | 1 - 15 files changed, 17 deletions(-) diff --git a/Classes/Controller/EditorController.php b/Classes/Controller/EditorController.php index 1ec412d5..78d2ad59 100755 --- a/Classes/Controller/EditorController.php +++ b/Classes/Controller/EditorController.php @@ -52,7 +52,6 @@ */ class EditorController extends ActionController { - /** * @var string Key of the extension this controller belongs to */ diff --git a/Classes/DataProcessing/HeaderLinkDataProcessor.php b/Classes/DataProcessing/HeaderLinkDataProcessor.php index 90bae1f5..f01c6b17 100755 --- a/Classes/DataProcessing/HeaderLinkDataProcessor.php +++ b/Classes/DataProcessing/HeaderLinkDataProcessor.php @@ -39,7 +39,6 @@ */ class HeaderLinkDataProcessor implements DataProcessorInterface { - /** * Process data for the header link. * diff --git a/Classes/DataProcessing/ThemesIconDataProcessor.php b/Classes/DataProcessing/ThemesIconDataProcessor.php index 52e0d0e0..6cf4560d 100755 --- a/Classes/DataProcessing/ThemesIconDataProcessor.php +++ b/Classes/DataProcessing/ThemesIconDataProcessor.php @@ -37,7 +37,6 @@ */ class ThemesIconDataProcessor implements DataProcessorInterface { - /** * Process data for the Themes icons. * diff --git a/Classes/DataProcessing/ThemesResponsiveColumnDataProcessor.php b/Classes/DataProcessing/ThemesResponsiveColumnDataProcessor.php index 388ada87..216c204b 100755 --- a/Classes/DataProcessing/ThemesResponsiveColumnDataProcessor.php +++ b/Classes/DataProcessing/ThemesResponsiveColumnDataProcessor.php @@ -38,7 +38,6 @@ */ class ThemesResponsiveColumnDataProcessor implements DataProcessorInterface { - /** * @var array */ diff --git a/Classes/DataProcessing/ThemesResponsiveDataProcessor.php b/Classes/DataProcessing/ThemesResponsiveDataProcessor.php index b115a607..6e14bf65 100755 --- a/Classes/DataProcessing/ThemesResponsiveDataProcessor.php +++ b/Classes/DataProcessing/ThemesResponsiveDataProcessor.php @@ -38,7 +38,6 @@ */ class ThemesResponsiveDataProcessor implements DataProcessorInterface { - /** * @var array */ diff --git a/Classes/Frontend/CssClassMapper.php b/Classes/Frontend/CssClassMapper.php index 5ef76883..09405e69 100755 --- a/Classes/Frontend/CssClassMapper.php +++ b/Classes/Frontend/CssClassMapper.php @@ -32,7 +32,6 @@ */ class CssClassMapper { - /** * Maps generic class names of a record to the official class names of the underlying framework. * diff --git a/Classes/Hooks/PageRenderer.php b/Classes/Hooks/PageRenderer.php index c51f74e2..52cc2e77 100755 --- a/Classes/Hooks/PageRenderer.php +++ b/Classes/Hooks/PageRenderer.php @@ -39,7 +39,6 @@ */ class PageRenderer implements SingletonInterface { - /** * Wrapper function called by hook (\TYPO3\CMS\Core\Page\PageRenderer->render-preProcess). * diff --git a/Classes/Hooks/ThemesDomainRepositoryThemeRepositoryInitHook.php b/Classes/Hooks/ThemesDomainRepositoryThemeRepositoryInitHook.php index 5952df23..2940aa9b 100755 --- a/Classes/Hooks/ThemesDomainRepositoryThemeRepositoryInitHook.php +++ b/Classes/Hooks/ThemesDomainRepositoryThemeRepositoryInitHook.php @@ -38,7 +38,6 @@ */ class ThemesDomainRepositoryThemeRepositoryInitHook { - /** * Add all available themes to the Themes repository * diff --git a/Classes/Slots/BackendUtilitySlot.php b/Classes/Slots/BackendUtilitySlot.php index 83cae296..ba46bc8e 100755 --- a/Classes/Slots/BackendUtilitySlot.php +++ b/Classes/Slots/BackendUtilitySlot.php @@ -39,7 +39,6 @@ */ class BackendUtilitySlot extends TsConfigParser { - /** * Selected/activated extensions in Theme (selected by sys_template) * @var array diff --git a/Classes/Tca/ContentEnforceEqualColumnHeight.php b/Classes/Tca/ContentEnforceEqualColumnHeight.php index 352c4430..517282a6 100755 --- a/Classes/Tca/ContentEnforceEqualColumnHeight.php +++ b/Classes/Tca/ContentEnforceEqualColumnHeight.php @@ -67,14 +67,12 @@ public function render() $checkboxes = ''; if (isset($responsives['properties']) && is_array($responsives['properties'])) { foreach ($responsives['properties'] as $groupKey => $settings) { - // Validate groupKey and get label $groupKey = substr($groupKey, 0, -1); $label = isset($settings['label']) ? $settings['label'] : $groupKey; $checkboxes .= '
'.LF; $checkboxes .= ''.LF; if (isset($settings['rowSettings.']) && is_array($settings['rowSettings.'])) { - // check if there is already a value selected $valueSet = false; foreach ($settings['rowSettings.'] as $visibilityKey => $_) { diff --git a/Classes/Tca/ContentResponsive.php b/Classes/Tca/ContentResponsive.php index 85ee1772..29d2b60e 100755 --- a/Classes/Tca/ContentResponsive.php +++ b/Classes/Tca/ContentResponsive.php @@ -93,7 +93,6 @@ public function render() $selectboxes = ''; if (isset($responsives['properties']) && is_array($responsives['properties'])) { foreach ($responsives['properties'] as $groupKey => $settings) { - // Validate groupKey and get label $groupKey = substr($groupKey, 0, -1); $label = isset($settings['label']) ? $settings['label'] : $groupKey; @@ -106,7 +105,6 @@ public function render() $selectboxes .= '
'.LF; $selectboxes .= ''.LF; if (isset($settings['visibility.']) && is_array($settings['visibility.'])) { - // check if there's already a value selected $valueSet = false; foreach ($settings['visibility.'] as $visibilityKey => $_) { diff --git a/Classes/Tca/ContentVariants.php b/Classes/Tca/ContentVariants.php index 219fa209..c2db326e 100755 --- a/Classes/Tca/ContentVariants.php +++ b/Classes/Tca/ContentVariants.php @@ -76,7 +76,6 @@ public function render() $this->checkboxesArray['gridLayout'] = []; if (isset($variants['properties']) && is_array($variants['properties'])) { foreach ($variants['properties'] as $contentElementKey => $label) { - // GridElements: are able to provide grid-specific variants if (is_array($label) && $cType === 'gridelements_pi1' && !array_key_exists($contentElementKey, $this->defaultProperties)) { $contentElementKey = substr($contentElementKey, 0, -1); diff --git a/Classes/Utilities/ApplicationContext.php b/Classes/Utilities/ApplicationContext.php index e695ce8b..8de4f5b3 100755 --- a/Classes/Utilities/ApplicationContext.php +++ b/Classes/Utilities/ApplicationContext.php @@ -34,7 +34,6 @@ class ApplicationContext { - /** * @var \TYPO3\CMS\Install\Configuration\FeatureManager */ diff --git a/Classes/Utilities/FindParentPageWithThemeUtility.php b/Classes/Utilities/FindParentPageWithThemeUtility.php index c1ba0724..2b7d22c6 100755 --- a/Classes/Utilities/FindParentPageWithThemeUtility.php +++ b/Classes/Utilities/FindParentPageWithThemeUtility.php @@ -34,7 +34,6 @@ */ class FindParentPageWithThemeUtility { - /** * @param $pid * @return mixed diff --git a/Classes/Utilities/ThemeEnabledCondition.php b/Classes/Utilities/ThemeEnabledCondition.php index 6ec2997b..8490a7d1 100755 --- a/Classes/Utilities/ThemeEnabledCondition.php +++ b/Classes/Utilities/ThemeEnabledCondition.php @@ -36,7 +36,6 @@ */ class ThemeEnabledCondition { - /** * Check if theme is enabled *