From 439c8ce2d0c4eaa941640f17f1fb69182eb92c51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jasmina=20Lie=C3=9Fmann?= <19210345+minapok@users.noreply.github.com> Date: Mon, 30 Oct 2023 21:48:05 +0100 Subject: [PATCH 1/3] [TASK] Update tree node code examples --- .../Private/Templates/Backend/Trees.html | 48 ++++++++++++------- 1 file changed, 32 insertions(+), 16 deletions(-) diff --git a/Resources/Private/Templates/Backend/Trees.html b/Resources/Private/Templates/Backend/Trees.html index 197bd3cd..e48db2f4 100755 --- a/Resources/Private/Templates/Backend/Trees.html +++ b/Resources/Private/Templates/Backend/Trees.html @@ -6,6 +6,14 @@ + + + +
@@ -60,20 +68,24 @@

Collapsible trees

  • - - - - + items
    • - - - - + key1 @@ -98,10 +110,12 @@

      Collapsible trees

  • - - - - + key2 @@ -124,10 +138,12 @@

    Collapsible trees

  • - + EXT From ed76d23aa794e8df1e452ec7c7283a96a3b90645 Mon Sep 17 00:00:00 2001 From: Christian Kuhn Date: Mon, 30 Oct 2023 21:51:58 +0100 Subject: [PATCH 2/3] [TASK] Tests declared final --- Tests/Functional/TcaDataGenerator/GeneratorTest.php | 7 ++----- Tests/Unit/Service/KauderwelschServiceTest.php | 5 +---- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/Tests/Functional/TcaDataGenerator/GeneratorTest.php b/Tests/Functional/TcaDataGenerator/GeneratorTest.php index fa947e04..45240ab4 100644 --- a/Tests/Functional/TcaDataGenerator/GeneratorTest.php +++ b/Tests/Functional/TcaDataGenerator/GeneratorTest.php @@ -23,10 +23,7 @@ use TYPO3\CMS\Styleguide\TcaDataGenerator\Generator; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -/** - * Test case - */ -class GeneratorTest extends FunctionalTestCase +final class GeneratorTest extends FunctionalTestCase { /** * @var non-empty-string[] Have styleguide loaded @@ -72,7 +69,7 @@ public function generatorCreatesBasicRecord(): void self::assertGreaterThan(0, $count); } - protected function getPageUidFor(string $dataTable): ?int + private function getPageUidFor(string $dataTable): ?int { $queryBuilder = GeneralUtility::makeInstance(ConnectionPool::class) ->getConnectionForTable('pages') diff --git a/Tests/Unit/Service/KauderwelschServiceTest.php b/Tests/Unit/Service/KauderwelschServiceTest.php index bac44810..a24a0302 100644 --- a/Tests/Unit/Service/KauderwelschServiceTest.php +++ b/Tests/Unit/Service/KauderwelschServiceTest.php @@ -18,10 +18,7 @@ use TYPO3\CMS\Styleguide\Service\KauderwelschService; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -/** - * Test case - */ -class KauderwelschServiceTest extends UnitTestCase +final class KauderwelschServiceTest extends UnitTestCase { /** * @test From 9b4ee268d9323a02571aa5a10381123b28d1c830 Mon Sep 17 00:00:00 2001 From: Christian Kuhn Date: Mon, 30 Oct 2023 21:57:21 +0100 Subject: [PATCH 3/3] [TASK] Declare PHP classes final (#462) --- Classes/Command/GeneratorCommand.php | 2 +- Classes/Controller/BackendController.php | 2 +- Classes/Form/Element/User1Element.php | 2 +- Classes/Service/KauderwelschService.php | 2 +- .../TcaDataGenerator/FieldGenerator/AbstractFieldGenerator.php | 2 +- Classes/TcaDataGenerator/FieldGenerator/ConfigDefault.php | 2 +- Classes/TcaDataGenerator/FieldGenerator/TypeCheck.php | 2 +- Classes/TcaDataGenerator/FieldGenerator/TypeColor.php | 2 +- Classes/TcaDataGenerator/FieldGenerator/TypeDatetime.php | 2 +- .../FieldGenerator/TypeDatetimeDbTypeDatetime.php | 2 +- .../TcaDataGenerator/FieldGenerator/TypeDatetimeFormatDate.php | 2 +- .../FieldGenerator/TypeDatetimeFormatDateDbTypeDate.php | 2 +- .../TcaDataGenerator/FieldGenerator/TypeDatetimeFormatTime.php | 2 +- .../FieldGenerator/TypeDatetimeFormatTimesec.php | 2 +- .../FieldGenerator/TypeDatetimeRequiredFormatDate.php | 2 +- Classes/TcaDataGenerator/FieldGenerator/TypeEmail.php | 2 +- Classes/TcaDataGenerator/FieldGenerator/TypeFile.php | 2 +- Classes/TcaDataGenerator/FieldGenerator/TypeFlex.php | 2 +- Classes/TcaDataGenerator/FieldGenerator/TypeFolder.php | 2 +- .../TcaDataGenerator/FieldGenerator/TypeGroupAllowedBeUsers.php | 2 +- .../FieldGenerator/TypeGroupAllowedBeUsersBeGroups.php | 2 +- .../TcaDataGenerator/FieldGenerator/TypeGroupAllowedPages.php | 2 +- .../FieldGenerator/TypeGroupAllowedStaticdata.php | 2 +- .../FieldGenerator/TypeGroupAllowedSysFiles.php | 2 +- Classes/TcaDataGenerator/FieldGenerator/TypeGroupFal.php | 2 +- .../TcaDataGenerator/FieldGenerator/TypeImageManipulation.php | 2 +- Classes/TcaDataGenerator/FieldGenerator/TypeInline1n.php | 2 +- .../TcaDataGenerator/FieldGenerator/TypeInlineExpandsingle.php | 2 +- .../FieldGenerator/TypeInlineFalSelectSingle12Foreign.php | 2 +- .../FieldGenerator/TypeInlineUsecombination.php | 2 +- Classes/TcaDataGenerator/FieldGenerator/TypeInput.php | 2 +- .../FieldGenerator/TypeInputDynamicTextWithRecordUid.php | 2 +- .../TcaDataGenerator/FieldGenerator/TypeInputEvalAlphanum.php | 2 +- Classes/TcaDataGenerator/FieldGenerator/TypeInputEvalIsIn.php | 2 +- Classes/TcaDataGenerator/FieldGenerator/TypeInputEvalMd5.php | 2 +- Classes/TcaDataGenerator/FieldGenerator/TypeInputEvalNum.php | 2 +- Classes/TcaDataGenerator/FieldGenerator/TypeInputEvalUpper.php | 2 +- Classes/TcaDataGenerator/FieldGenerator/TypeInputEvalYear.php | 2 +- .../FieldGenerator/TypeInputForceL10nParent.php | 2 +- Classes/TcaDataGenerator/FieldGenerator/TypeInputMax4.php | 2 +- Classes/TcaDataGenerator/FieldGenerator/TypeInputMax4Min4.php | 2 +- .../TcaDataGenerator/FieldGenerator/TypeInputWizardSelect.php | 2 +- Classes/TcaDataGenerator/FieldGenerator/TypeLink.php | 2 +- Classes/TcaDataGenerator/FieldGenerator/TypeNone.php | 2 +- .../TcaDataGenerator/FieldGenerator/TypeNoneFormatDateTime.php | 2 +- Classes/TcaDataGenerator/FieldGenerator/TypeNumber.php | 2 +- .../TcaDataGenerator/FieldGenerator/TypeNumberFormatDecimal.php | 2 +- Classes/TcaDataGenerator/FieldGenerator/TypePassthrough.php | 2 +- Classes/TcaDataGenerator/FieldGenerator/TypePassword.php | 2 +- .../TcaDataGenerator/FieldGenerator/TypePasswordHashedFalse.php | 2 +- Classes/TcaDataGenerator/FieldGenerator/TypeRadio.php | 2 +- Classes/TcaDataGenerator/FieldGenerator/TypeSelect.php | 2 +- .../TypeSelectRenderTypeMultipleForeignTableStaticData.php | 2 +- .../FieldGenerator/TypeSelectRenderTypeSelectTree.php | 2 +- .../FieldGenerator/TypeSelectRenderTypeSingleForeignTable.php | 2 +- .../TypeSelectRenderTypeSingleForeignTableForType.php | 2 +- Classes/TcaDataGenerator/FieldGenerator/TypeText.php | 2 +- .../FieldGenerator/TypeTextDefaultExtrasRichtext.php | 2 +- .../TcaDataGenerator/FieldGenerator/TypeTextFormatDatetime.php | 2 +- .../TcaDataGenerator/FieldGenerator/TypeTextFormatT3editor.php | 2 +- Classes/TcaDataGenerator/FieldGenerator/TypeTextMax30.php | 2 +- .../TcaDataGenerator/FieldGenerator/TypeTextWizardSelect.php | 2 +- Classes/TcaDataGenerator/FieldGenerator/TypeTextWizardTable.php | 2 +- Classes/TcaDataGenerator/FieldGenerator/TypeUser.php | 2 +- Classes/TcaDataGenerator/FieldGeneratorResolver.php | 2 +- Classes/TcaDataGenerator/Generator.php | 2 +- Classes/TcaDataGenerator/GeneratorFrontend.php | 2 +- Classes/TcaDataGenerator/GeneratorNotFoundException.php | 2 +- Classes/TcaDataGenerator/RecordData.php | 2 +- Classes/TcaDataGenerator/RecordFinder.php | 2 +- Classes/TcaDataGenerator/TableHandler/AbstractTableHandler.php | 2 +- Classes/TcaDataGenerator/TableHandler/General.php | 2 +- Classes/TcaDataGenerator/TableHandler/InlineMn.php | 2 +- Classes/TcaDataGenerator/TableHandler/InlineMnGroup.php | 2 +- Classes/TcaDataGenerator/TableHandler/InlineMnSymmetric.php | 2 +- .../TcaDataGenerator/TableHandler/InlineMnSymmetricGroup.php | 2 +- Classes/TcaDataGenerator/TableHandler/StaticData.php | 2 +- Classes/UserFunctions/ExtensionConfiguration/User1.php | 2 +- Classes/UserFunctions/FormEngine/DisplayConditionUserFunc.php | 2 +- Classes/UserFunctions/FormEngine/SelectItemSorter.php | 2 +- Classes/UserFunctions/FormEngine/SlugPrefix.php | 2 +- Classes/UserFunctions/FormEngine/TypeCheckbox8ItemsProcFunc.php | 2 +- Classes/UserFunctions/FormEngine/TypeRadio5ItemsProcFunc.php | 2 +- Classes/UserFunctions/FormEngine/TypeSelect2ItemsProcFunc.php | 2 +- Classes/UserFunctions/FormEngine/TypeSelect33ItemsProcFunc.php | 2 +- Classes/UserFunctions/FormEngine/TypeUserPalette.php | 2 +- Classes/ViewHelpers/CodeViewHelper.php | 2 +- 87 files changed, 87 insertions(+), 87 deletions(-) diff --git a/Classes/Command/GeneratorCommand.php b/Classes/Command/GeneratorCommand.php index 4ea1a027..5082d626 100644 --- a/Classes/Command/GeneratorCommand.php +++ b/Classes/Command/GeneratorCommand.php @@ -31,7 +31,7 @@ /** * Generate TCA for Styleguide backend (create / delete) */ -class GeneratorCommand extends Command +final class GeneratorCommand extends Command { protected function configure(): void { diff --git a/Classes/Controller/BackendController.php b/Classes/Controller/BackendController.php index 337244b9..aa08008e 100755 --- a/Classes/Controller/BackendController.php +++ b/Classes/Controller/BackendController.php @@ -41,7 +41,7 @@ * Styleguide main backend module in the help toolbar */ #[Controller] -class BackendController +final class BackendController { /** * @var non-empty-array diff --git a/Classes/Form/Element/User1Element.php b/Classes/Form/Element/User1Element.php index c7c69943..10722a8f 100644 --- a/Classes/Form/Element/User1Element.php +++ b/Classes/Form/Element/User1Element.php @@ -25,7 +25,7 @@ /** * A user function rendering a type=user TCA type used in user_1 */ -class User1Element extends AbstractFormElement +final class User1Element extends AbstractFormElement { use OnFieldChangeTrait; diff --git a/Classes/Service/KauderwelschService.php b/Classes/Service/KauderwelschService.php index 31e6df50..26a3b0fb 100755 --- a/Classes/Service/KauderwelschService.php +++ b/Classes/Service/KauderwelschService.php @@ -20,7 +20,7 @@ /** * Get test strings */ -class KauderwelschService +final class KauderwelschService { /** * Lorem ipsum test with fixed length. diff --git a/Classes/TcaDataGenerator/FieldGenerator/AbstractFieldGenerator.php b/Classes/TcaDataGenerator/FieldGenerator/AbstractFieldGenerator.php index f8203ff5..fbda8d5e 100644 --- a/Classes/TcaDataGenerator/FieldGenerator/AbstractFieldGenerator.php +++ b/Classes/TcaDataGenerator/FieldGenerator/AbstractFieldGenerator.php @@ -23,7 +23,7 @@ /** * Implement some standard stuff */ -class AbstractFieldGenerator +abstract class AbstractFieldGenerator { /** * @var KauderwelschService diff --git a/Classes/TcaDataGenerator/FieldGenerator/ConfigDefault.php b/Classes/TcaDataGenerator/FieldGenerator/ConfigDefault.php index fccb21e8..35bac867 100644 --- a/Classes/TcaDataGenerator/FieldGenerator/ConfigDefault.php +++ b/Classes/TcaDataGenerator/FieldGenerator/ConfigDefault.php @@ -22,7 +22,7 @@ /** * Use "default" value if set in config */ -class ConfigDefault extends AbstractFieldGenerator implements FieldGeneratorInterface +final class ConfigDefault extends AbstractFieldGenerator implements FieldGeneratorInterface { /** * Match if ['config']['default'] is set. diff --git a/Classes/TcaDataGenerator/FieldGenerator/TypeCheck.php b/Classes/TcaDataGenerator/FieldGenerator/TypeCheck.php index 6c696d10..9718d666 100644 --- a/Classes/TcaDataGenerator/FieldGenerator/TypeCheck.php +++ b/Classes/TcaDataGenerator/FieldGenerator/TypeCheck.php @@ -22,7 +22,7 @@ /** * Generate data for type=check fields */ -class TypeCheck extends AbstractFieldGenerator implements FieldGeneratorInterface +final class TypeCheck extends AbstractFieldGenerator implements FieldGeneratorInterface { /** * @var array General match if type=check diff --git a/Classes/TcaDataGenerator/FieldGenerator/TypeColor.php b/Classes/TcaDataGenerator/FieldGenerator/TypeColor.php index e0e4f5dd..1aa4f9df 100644 --- a/Classes/TcaDataGenerator/FieldGenerator/TypeColor.php +++ b/Classes/TcaDataGenerator/FieldGenerator/TypeColor.php @@ -22,7 +22,7 @@ /** * Generate data for type=color fields */ -class TypeColor extends AbstractFieldGenerator implements FieldGeneratorInterface +final class TypeColor extends AbstractFieldGenerator implements FieldGeneratorInterface { /** * General match if type=color diff --git a/Classes/TcaDataGenerator/FieldGenerator/TypeDatetime.php b/Classes/TcaDataGenerator/FieldGenerator/TypeDatetime.php index 5a980902..3a2e729c 100644 --- a/Classes/TcaDataGenerator/FieldGenerator/TypeDatetime.php +++ b/Classes/TcaDataGenerator/FieldGenerator/TypeDatetime.php @@ -22,7 +22,7 @@ /** * Generate data for type=datetime fields */ -class TypeDatetime extends AbstractFieldGenerator implements FieldGeneratorInterface +final class TypeDatetime extends AbstractFieldGenerator implements FieldGeneratorInterface { /** * General match if type=datetime diff --git a/Classes/TcaDataGenerator/FieldGenerator/TypeDatetimeDbTypeDatetime.php b/Classes/TcaDataGenerator/FieldGenerator/TypeDatetimeDbTypeDatetime.php index 1a722c91..80ef2158 100644 --- a/Classes/TcaDataGenerator/FieldGenerator/TypeDatetimeDbTypeDatetime.php +++ b/Classes/TcaDataGenerator/FieldGenerator/TypeDatetimeDbTypeDatetime.php @@ -22,7 +22,7 @@ /** * Generate data for type=datetime fields with dbType=datetime */ -class TypeDatetimeDbTypeDatetime extends AbstractFieldGenerator implements FieldGeneratorInterface +final class TypeDatetimeDbTypeDatetime extends AbstractFieldGenerator implements FieldGeneratorInterface { /** * General match if type=datetime and dbType=datetime diff --git a/Classes/TcaDataGenerator/FieldGenerator/TypeDatetimeFormatDate.php b/Classes/TcaDataGenerator/FieldGenerator/TypeDatetimeFormatDate.php index b5f3e889..f61e84d3 100644 --- a/Classes/TcaDataGenerator/FieldGenerator/TypeDatetimeFormatDate.php +++ b/Classes/TcaDataGenerator/FieldGenerator/TypeDatetimeFormatDate.php @@ -22,7 +22,7 @@ /** * Generate data for type=datetime fields with format=date */ -class TypeDatetimeFormatDate extends AbstractFieldGenerator implements FieldGeneratorInterface +final class TypeDatetimeFormatDate extends AbstractFieldGenerator implements FieldGeneratorInterface { /** * General match if type=datetime and format=date diff --git a/Classes/TcaDataGenerator/FieldGenerator/TypeDatetimeFormatDateDbTypeDate.php b/Classes/TcaDataGenerator/FieldGenerator/TypeDatetimeFormatDateDbTypeDate.php index 9c535e17..0e9bed5d 100644 --- a/Classes/TcaDataGenerator/FieldGenerator/TypeDatetimeFormatDateDbTypeDate.php +++ b/Classes/TcaDataGenerator/FieldGenerator/TypeDatetimeFormatDateDbTypeDate.php @@ -22,7 +22,7 @@ /** * Generate data for type=datetime fields with format=date and dbType=date */ -class TypeDatetimeFormatDateDbTypeDate extends AbstractFieldGenerator implements FieldGeneratorInterface +final class TypeDatetimeFormatDateDbTypeDate extends AbstractFieldGenerator implements FieldGeneratorInterface { /** * General match if type=datetime, format=date and dbType=date diff --git a/Classes/TcaDataGenerator/FieldGenerator/TypeDatetimeFormatTime.php b/Classes/TcaDataGenerator/FieldGenerator/TypeDatetimeFormatTime.php index 251643e0..71a78d52 100644 --- a/Classes/TcaDataGenerator/FieldGenerator/TypeDatetimeFormatTime.php +++ b/Classes/TcaDataGenerator/FieldGenerator/TypeDatetimeFormatTime.php @@ -26,7 +26,7 @@ /** * Generate data for type=datetime fields with format=time */ -class TypeDatetimeFormatTime extends AbstractFieldGenerator implements FieldGeneratorInterface +final class TypeDatetimeFormatTime extends AbstractFieldGenerator implements FieldGeneratorInterface { /** * General match if type=datetime and format=time diff --git a/Classes/TcaDataGenerator/FieldGenerator/TypeDatetimeFormatTimesec.php b/Classes/TcaDataGenerator/FieldGenerator/TypeDatetimeFormatTimesec.php index dcbb10dd..d60cdfeb 100644 --- a/Classes/TcaDataGenerator/FieldGenerator/TypeDatetimeFormatTimesec.php +++ b/Classes/TcaDataGenerator/FieldGenerator/TypeDatetimeFormatTimesec.php @@ -26,7 +26,7 @@ /** * Generate data for type=datetime fields with format=timesec */ -class TypeDatetimeFormatTimesec extends AbstractFieldGenerator implements FieldGeneratorInterface +final class TypeDatetimeFormatTimesec extends AbstractFieldGenerator implements FieldGeneratorInterface { /** * General match if type=datetime and format=timesec diff --git a/Classes/TcaDataGenerator/FieldGenerator/TypeDatetimeRequiredFormatDate.php b/Classes/TcaDataGenerator/FieldGenerator/TypeDatetimeRequiredFormatDate.php index ec02affc..588f9a83 100644 --- a/Classes/TcaDataGenerator/FieldGenerator/TypeDatetimeRequiredFormatDate.php +++ b/Classes/TcaDataGenerator/FieldGenerator/TypeDatetimeRequiredFormatDate.php @@ -22,7 +22,7 @@ /** * Generate data for mandatory type=datetime fields with format=date */ -class TypeDatetimeRequiredFormatDate extends AbstractFieldGenerator implements FieldGeneratorInterface +final class TypeDatetimeRequiredFormatDate extends AbstractFieldGenerator implements FieldGeneratorInterface { /** * General match if type=datetime, format=date and required=true diff --git a/Classes/TcaDataGenerator/FieldGenerator/TypeEmail.php b/Classes/TcaDataGenerator/FieldGenerator/TypeEmail.php index a8ae119f..b252a3e1 100644 --- a/Classes/TcaDataGenerator/FieldGenerator/TypeEmail.php +++ b/Classes/TcaDataGenerator/FieldGenerator/TypeEmail.php @@ -22,7 +22,7 @@ /** * Generate data for type=email fields */ -class TypeEmail extends AbstractFieldGenerator implements FieldGeneratorInterface +final class TypeEmail extends AbstractFieldGenerator implements FieldGeneratorInterface { /** * @var array General match if type=email diff --git a/Classes/TcaDataGenerator/FieldGenerator/TypeFile.php b/Classes/TcaDataGenerator/FieldGenerator/TypeFile.php index f6e2ccfc..ba93ac1e 100644 --- a/Classes/TcaDataGenerator/FieldGenerator/TypeFile.php +++ b/Classes/TcaDataGenerator/FieldGenerator/TypeFile.php @@ -26,7 +26,7 @@ /** * Generate data for type=file fields */ -class TypeFile extends AbstractFieldGenerator implements FieldGeneratorInterface +final class TypeFile extends AbstractFieldGenerator implements FieldGeneratorInterface { /** * @var array General match if type=file diff --git a/Classes/TcaDataGenerator/FieldGenerator/TypeFlex.php b/Classes/TcaDataGenerator/FieldGenerator/TypeFlex.php index 24157ca0..4dd3d79b 100644 --- a/Classes/TcaDataGenerator/FieldGenerator/TypeFlex.php +++ b/Classes/TcaDataGenerator/FieldGenerator/TypeFlex.php @@ -26,7 +26,7 @@ /** * Generate data for type=flex fields */ -class TypeFlex extends AbstractFieldGenerator implements FieldGeneratorInterface +final class TypeFlex extends AbstractFieldGenerator implements FieldGeneratorInterface { /** * @var array General match if type=input diff --git a/Classes/TcaDataGenerator/FieldGenerator/TypeFolder.php b/Classes/TcaDataGenerator/FieldGenerator/TypeFolder.php index 78a88ce0..ea6ed7a3 100644 --- a/Classes/TcaDataGenerator/FieldGenerator/TypeFolder.php +++ b/Classes/TcaDataGenerator/FieldGenerator/TypeFolder.php @@ -24,7 +24,7 @@ /** * Generate data for type=folder fields */ -class TypeFolder extends AbstractFieldGenerator implements FieldGeneratorInterface +final class TypeFolder extends AbstractFieldGenerator implements FieldGeneratorInterface { /** * @var array General match if type=group diff --git a/Classes/TcaDataGenerator/FieldGenerator/TypeGroupAllowedBeUsers.php b/Classes/TcaDataGenerator/FieldGenerator/TypeGroupAllowedBeUsers.php index 6501a49b..4b4db8b6 100644 --- a/Classes/TcaDataGenerator/FieldGenerator/TypeGroupAllowedBeUsers.php +++ b/Classes/TcaDataGenerator/FieldGenerator/TypeGroupAllowedBeUsers.php @@ -24,7 +24,7 @@ /** * Generate data for type=group fields */ -class TypeGroupAllowedBeUsers extends AbstractFieldGenerator implements FieldGeneratorInterface +final class TypeGroupAllowedBeUsers extends AbstractFieldGenerator implements FieldGeneratorInterface { /** * @var array General match if type=group diff --git a/Classes/TcaDataGenerator/FieldGenerator/TypeGroupAllowedBeUsersBeGroups.php b/Classes/TcaDataGenerator/FieldGenerator/TypeGroupAllowedBeUsersBeGroups.php index 50fb9d19..b311f197 100644 --- a/Classes/TcaDataGenerator/FieldGenerator/TypeGroupAllowedBeUsersBeGroups.php +++ b/Classes/TcaDataGenerator/FieldGenerator/TypeGroupAllowedBeUsersBeGroups.php @@ -24,7 +24,7 @@ /** * Generate data for type=group fields */ -class TypeGroupAllowedBeUsersBeGroups extends AbstractFieldGenerator implements FieldGeneratorInterface +final class TypeGroupAllowedBeUsersBeGroups extends AbstractFieldGenerator implements FieldGeneratorInterface { /** * @var array General match if type=group diff --git a/Classes/TcaDataGenerator/FieldGenerator/TypeGroupAllowedPages.php b/Classes/TcaDataGenerator/FieldGenerator/TypeGroupAllowedPages.php index 93573f8a..667fb810 100644 --- a/Classes/TcaDataGenerator/FieldGenerator/TypeGroupAllowedPages.php +++ b/Classes/TcaDataGenerator/FieldGenerator/TypeGroupAllowedPages.php @@ -24,7 +24,7 @@ /** * Generate data for type=group fields */ -class TypeGroupAllowedPages extends AbstractFieldGenerator implements FieldGeneratorInterface +final class TypeGroupAllowedPages extends AbstractFieldGenerator implements FieldGeneratorInterface { /** * @var array Match if type=group and allowed=pages diff --git a/Classes/TcaDataGenerator/FieldGenerator/TypeGroupAllowedStaticdata.php b/Classes/TcaDataGenerator/FieldGenerator/TypeGroupAllowedStaticdata.php index 0f5505c4..42babfb9 100644 --- a/Classes/TcaDataGenerator/FieldGenerator/TypeGroupAllowedStaticdata.php +++ b/Classes/TcaDataGenerator/FieldGenerator/TypeGroupAllowedStaticdata.php @@ -24,7 +24,7 @@ /** * Generate data for type=group fields */ -class TypeGroupAllowedStaticdata extends AbstractFieldGenerator implements FieldGeneratorInterface +final class TypeGroupAllowedStaticdata extends AbstractFieldGenerator implements FieldGeneratorInterface { /** * @var array General match if type=group diff --git a/Classes/TcaDataGenerator/FieldGenerator/TypeGroupAllowedSysFiles.php b/Classes/TcaDataGenerator/FieldGenerator/TypeGroupAllowedSysFiles.php index 0c721748..cf09083f 100644 --- a/Classes/TcaDataGenerator/FieldGenerator/TypeGroupAllowedSysFiles.php +++ b/Classes/TcaDataGenerator/FieldGenerator/TypeGroupAllowedSysFiles.php @@ -24,7 +24,7 @@ /** * Generate data for type=group fields */ -class TypeGroupAllowedSysFiles extends AbstractFieldGenerator implements FieldGeneratorInterface +final class TypeGroupAllowedSysFiles extends AbstractFieldGenerator implements FieldGeneratorInterface { /** * @var array Match if type=group and allowed=pages diff --git a/Classes/TcaDataGenerator/FieldGenerator/TypeGroupFal.php b/Classes/TcaDataGenerator/FieldGenerator/TypeGroupFal.php index 9f0a4d65..6e7753f8 100644 --- a/Classes/TcaDataGenerator/FieldGenerator/TypeGroupFal.php +++ b/Classes/TcaDataGenerator/FieldGenerator/TypeGroupFal.php @@ -26,7 +26,7 @@ /** * Generate data for type=group fields */ -class TypeGroupFal extends AbstractFieldGenerator implements FieldGeneratorInterface +final class TypeGroupFal extends AbstractFieldGenerator implements FieldGeneratorInterface { /** * @var array General match if type=group diff --git a/Classes/TcaDataGenerator/FieldGenerator/TypeImageManipulation.php b/Classes/TcaDataGenerator/FieldGenerator/TypeImageManipulation.php index 81212193..5eb8b870 100644 --- a/Classes/TcaDataGenerator/FieldGenerator/TypeImageManipulation.php +++ b/Classes/TcaDataGenerator/FieldGenerator/TypeImageManipulation.php @@ -22,7 +22,7 @@ /** * Generate data for type=none fields */ -class TypeImageManipulation extends AbstractFieldGenerator implements FieldGeneratorInterface +final class TypeImageManipulation extends AbstractFieldGenerator implements FieldGeneratorInterface { /** * @var array General match if type=input diff --git a/Classes/TcaDataGenerator/FieldGenerator/TypeInline1n.php b/Classes/TcaDataGenerator/FieldGenerator/TypeInline1n.php index eecf564c..b2177eec 100644 --- a/Classes/TcaDataGenerator/FieldGenerator/TypeInline1n.php +++ b/Classes/TcaDataGenerator/FieldGenerator/TypeInline1n.php @@ -25,7 +25,7 @@ /** * Generate data for type=inline fields */ -class TypeInline1n extends AbstractFieldGenerator implements FieldGeneratorInterface +final class TypeInline1n extends AbstractFieldGenerator implements FieldGeneratorInterface { /** * @var array General match if type=input diff --git a/Classes/TcaDataGenerator/FieldGenerator/TypeInlineExpandsingle.php b/Classes/TcaDataGenerator/FieldGenerator/TypeInlineExpandsingle.php index 881827fb..d6b01b20 100644 --- a/Classes/TcaDataGenerator/FieldGenerator/TypeInlineExpandsingle.php +++ b/Classes/TcaDataGenerator/FieldGenerator/TypeInlineExpandsingle.php @@ -27,7 +27,7 @@ * Special implementation for inline_1 of tx_styleguide_inline_expandsingle creates * multiple child rows. */ -class TypeInlineExpandsingle extends AbstractFieldGenerator implements FieldGeneratorInterface +final class TypeInlineExpandsingle extends AbstractFieldGenerator implements FieldGeneratorInterface { /** * @var array General match if type=input diff --git a/Classes/TcaDataGenerator/FieldGenerator/TypeInlineFalSelectSingle12Foreign.php b/Classes/TcaDataGenerator/FieldGenerator/TypeInlineFalSelectSingle12Foreign.php index 5ac1b462..4adf20d8 100644 --- a/Classes/TcaDataGenerator/FieldGenerator/TypeInlineFalSelectSingle12Foreign.php +++ b/Classes/TcaDataGenerator/FieldGenerator/TypeInlineFalSelectSingle12Foreign.php @@ -27,7 +27,7 @@ * Generate data for fal_1 field of * tx_styleguide_elements_select_single_12_foreign */ -class TypeInlineFalSelectSingle12Foreign extends AbstractFieldGenerator implements FieldGeneratorInterface +final class TypeInlineFalSelectSingle12Foreign extends AbstractFieldGenerator implements FieldGeneratorInterface { /** * Well ... this one is called twice and we want one image for the first image diff --git a/Classes/TcaDataGenerator/FieldGenerator/TypeInlineUsecombination.php b/Classes/TcaDataGenerator/FieldGenerator/TypeInlineUsecombination.php index 86c5a7ec..cf5bfbd6 100644 --- a/Classes/TcaDataGenerator/FieldGenerator/TypeInlineUsecombination.php +++ b/Classes/TcaDataGenerator/FieldGenerator/TypeInlineUsecombination.php @@ -27,7 +27,7 @@ * Special implementation for inline_1 of * tx_styleguide_inline_usecombination and tx_styleguide_inline_usecombinationbox */ -class TypeInlineUsecombination extends AbstractFieldGenerator implements FieldGeneratorInterface +final class TypeInlineUsecombination extends AbstractFieldGenerator implements FieldGeneratorInterface { /** * @var array General match if type=input diff --git a/Classes/TcaDataGenerator/FieldGenerator/TypeInput.php b/Classes/TcaDataGenerator/FieldGenerator/TypeInput.php index abbc70f2..131ba20d 100644 --- a/Classes/TcaDataGenerator/FieldGenerator/TypeInput.php +++ b/Classes/TcaDataGenerator/FieldGenerator/TypeInput.php @@ -22,7 +22,7 @@ /** * Generate data for type=input fields */ -class TypeInput extends AbstractFieldGenerator implements FieldGeneratorInterface +final class TypeInput extends AbstractFieldGenerator implements FieldGeneratorInterface { /** * @var array General match if type=input diff --git a/Classes/TcaDataGenerator/FieldGenerator/TypeInputDynamicTextWithRecordUid.php b/Classes/TcaDataGenerator/FieldGenerator/TypeInputDynamicTextWithRecordUid.php index febb6ad2..fdda97ee 100644 --- a/Classes/TcaDataGenerator/FieldGenerator/TypeInputDynamicTextWithRecordUid.php +++ b/Classes/TcaDataGenerator/FieldGenerator/TypeInputDynamicTextWithRecordUid.php @@ -23,7 +23,7 @@ * Generate data for type=input fields * "lipsum 23" for some special children */ -class TypeInputDynamicTextWithRecordUid extends AbstractFieldGenerator implements FieldGeneratorInterface +final class TypeInputDynamicTextWithRecordUid extends AbstractFieldGenerator implements FieldGeneratorInterface { /** * @var array General match if type=input diff --git a/Classes/TcaDataGenerator/FieldGenerator/TypeInputEvalAlphanum.php b/Classes/TcaDataGenerator/FieldGenerator/TypeInputEvalAlphanum.php index d4781b8e..89565ebb 100644 --- a/Classes/TcaDataGenerator/FieldGenerator/TypeInputEvalAlphanum.php +++ b/Classes/TcaDataGenerator/FieldGenerator/TypeInputEvalAlphanum.php @@ -22,7 +22,7 @@ /** * Generate data for type=input fields */ -class TypeInputEvalAlphanum extends AbstractFieldGenerator implements FieldGeneratorInterface +final class TypeInputEvalAlphanum extends AbstractFieldGenerator implements FieldGeneratorInterface { /** * @var array General match if type=input diff --git a/Classes/TcaDataGenerator/FieldGenerator/TypeInputEvalIsIn.php b/Classes/TcaDataGenerator/FieldGenerator/TypeInputEvalIsIn.php index 6e0762a3..e232ffec 100644 --- a/Classes/TcaDataGenerator/FieldGenerator/TypeInputEvalIsIn.php +++ b/Classes/TcaDataGenerator/FieldGenerator/TypeInputEvalIsIn.php @@ -22,7 +22,7 @@ /** * Generate data for type=input fields */ -class TypeInputEvalIsIn extends AbstractFieldGenerator implements FieldGeneratorInterface +final class TypeInputEvalIsIn extends AbstractFieldGenerator implements FieldGeneratorInterface { /** * @var array General match if type=input diff --git a/Classes/TcaDataGenerator/FieldGenerator/TypeInputEvalMd5.php b/Classes/TcaDataGenerator/FieldGenerator/TypeInputEvalMd5.php index c9daf27c..559338bf 100644 --- a/Classes/TcaDataGenerator/FieldGenerator/TypeInputEvalMd5.php +++ b/Classes/TcaDataGenerator/FieldGenerator/TypeInputEvalMd5.php @@ -22,7 +22,7 @@ /** * Generate data for type=input fields */ -class TypeInputEvalMd5 extends AbstractFieldGenerator implements FieldGeneratorInterface +final class TypeInputEvalMd5 extends AbstractFieldGenerator implements FieldGeneratorInterface { /** * @var array General match if type=input diff --git a/Classes/TcaDataGenerator/FieldGenerator/TypeInputEvalNum.php b/Classes/TcaDataGenerator/FieldGenerator/TypeInputEvalNum.php index f3da00cc..ac14574a 100644 --- a/Classes/TcaDataGenerator/FieldGenerator/TypeInputEvalNum.php +++ b/Classes/TcaDataGenerator/FieldGenerator/TypeInputEvalNum.php @@ -22,7 +22,7 @@ /** * Generate data for type=input fields */ -class TypeInputEvalNum extends AbstractFieldGenerator implements FieldGeneratorInterface +final class TypeInputEvalNum extends AbstractFieldGenerator implements FieldGeneratorInterface { /** * @var array General match if type=input diff --git a/Classes/TcaDataGenerator/FieldGenerator/TypeInputEvalUpper.php b/Classes/TcaDataGenerator/FieldGenerator/TypeInputEvalUpper.php index 0596ccb3..07a0a073 100644 --- a/Classes/TcaDataGenerator/FieldGenerator/TypeInputEvalUpper.php +++ b/Classes/TcaDataGenerator/FieldGenerator/TypeInputEvalUpper.php @@ -22,7 +22,7 @@ /** * Generate data for type=input fields */ -class TypeInputEvalUpper extends AbstractFieldGenerator implements FieldGeneratorInterface +final class TypeInputEvalUpper extends AbstractFieldGenerator implements FieldGeneratorInterface { /** * @var array General match if type=input diff --git a/Classes/TcaDataGenerator/FieldGenerator/TypeInputEvalYear.php b/Classes/TcaDataGenerator/FieldGenerator/TypeInputEvalYear.php index 5a2078db..6464fe1f 100644 --- a/Classes/TcaDataGenerator/FieldGenerator/TypeInputEvalYear.php +++ b/Classes/TcaDataGenerator/FieldGenerator/TypeInputEvalYear.php @@ -22,7 +22,7 @@ /** * Generate data for type=input fields */ -class TypeInputEvalYear extends AbstractFieldGenerator implements FieldGeneratorInterface +final class TypeInputEvalYear extends AbstractFieldGenerator implements FieldGeneratorInterface { /** * @var array General match if type=input diff --git a/Classes/TcaDataGenerator/FieldGenerator/TypeInputForceL10nParent.php b/Classes/TcaDataGenerator/FieldGenerator/TypeInputForceL10nParent.php index a071fa36..5d6cd92e 100644 --- a/Classes/TcaDataGenerator/FieldGenerator/TypeInputForceL10nParent.php +++ b/Classes/TcaDataGenerator/FieldGenerator/TypeInputForceL10nParent.php @@ -22,7 +22,7 @@ /** * Generate data for type=input fields */ -class TypeInputForceL10nParent extends AbstractFieldGenerator implements FieldGeneratorInterface +final class TypeInputForceL10nParent extends AbstractFieldGenerator implements FieldGeneratorInterface { public function match(array $data): bool { diff --git a/Classes/TcaDataGenerator/FieldGenerator/TypeInputMax4.php b/Classes/TcaDataGenerator/FieldGenerator/TypeInputMax4.php index bf0f02d3..435d850b 100644 --- a/Classes/TcaDataGenerator/FieldGenerator/TypeInputMax4.php +++ b/Classes/TcaDataGenerator/FieldGenerator/TypeInputMax4.php @@ -22,7 +22,7 @@ /** * Generate data for type=input fields */ -class TypeInputMax4 extends AbstractFieldGenerator implements FieldGeneratorInterface +final class TypeInputMax4 extends AbstractFieldGenerator implements FieldGeneratorInterface { /** * @var array General match if type=input diff --git a/Classes/TcaDataGenerator/FieldGenerator/TypeInputMax4Min4.php b/Classes/TcaDataGenerator/FieldGenerator/TypeInputMax4Min4.php index 24c0b457..efc29683 100644 --- a/Classes/TcaDataGenerator/FieldGenerator/TypeInputMax4Min4.php +++ b/Classes/TcaDataGenerator/FieldGenerator/TypeInputMax4Min4.php @@ -22,7 +22,7 @@ /** * Generate data for type=input fields */ -class TypeInputMax4Min4 extends AbstractFieldGenerator implements FieldGeneratorInterface +final class TypeInputMax4Min4 extends AbstractFieldGenerator implements FieldGeneratorInterface { /** * @var array General match if type=input diff --git a/Classes/TcaDataGenerator/FieldGenerator/TypeInputWizardSelect.php b/Classes/TcaDataGenerator/FieldGenerator/TypeInputWizardSelect.php index f5b63b70..bf8998de 100644 --- a/Classes/TcaDataGenerator/FieldGenerator/TypeInputWizardSelect.php +++ b/Classes/TcaDataGenerator/FieldGenerator/TypeInputWizardSelect.php @@ -22,7 +22,7 @@ /** * Generate data for type=input fields */ -class TypeInputWizardSelect extends AbstractFieldGenerator implements FieldGeneratorInterface +final class TypeInputWizardSelect extends AbstractFieldGenerator implements FieldGeneratorInterface { /** * @var array General match if type=input diff --git a/Classes/TcaDataGenerator/FieldGenerator/TypeLink.php b/Classes/TcaDataGenerator/FieldGenerator/TypeLink.php index e883efaf..4bfb33bb 100644 --- a/Classes/TcaDataGenerator/FieldGenerator/TypeLink.php +++ b/Classes/TcaDataGenerator/FieldGenerator/TypeLink.php @@ -22,7 +22,7 @@ /** * Generate data for type=link fields */ -class TypeLink extends AbstractFieldGenerator implements FieldGeneratorInterface +final class TypeLink extends AbstractFieldGenerator implements FieldGeneratorInterface { /** * @var array General match if type=link diff --git a/Classes/TcaDataGenerator/FieldGenerator/TypeNone.php b/Classes/TcaDataGenerator/FieldGenerator/TypeNone.php index 27493fa6..1a6b9d99 100644 --- a/Classes/TcaDataGenerator/FieldGenerator/TypeNone.php +++ b/Classes/TcaDataGenerator/FieldGenerator/TypeNone.php @@ -22,7 +22,7 @@ /** * Generate data for type=none fields */ -class TypeNone extends AbstractFieldGenerator implements FieldGeneratorInterface +final class TypeNone extends AbstractFieldGenerator implements FieldGeneratorInterface { /** * @var array General match if type=input diff --git a/Classes/TcaDataGenerator/FieldGenerator/TypeNoneFormatDateTime.php b/Classes/TcaDataGenerator/FieldGenerator/TypeNoneFormatDateTime.php index 9e1eca7a..eb125975 100644 --- a/Classes/TcaDataGenerator/FieldGenerator/TypeNoneFormatDateTime.php +++ b/Classes/TcaDataGenerator/FieldGenerator/TypeNoneFormatDateTime.php @@ -22,7 +22,7 @@ /** * Generate data for type=none fields with format='datetime' */ -class TypeNoneFormatDateTime extends AbstractFieldGenerator implements FieldGeneratorInterface +final class TypeNoneFormatDateTime extends AbstractFieldGenerator implements FieldGeneratorInterface { /** * @var array General match if type=input diff --git a/Classes/TcaDataGenerator/FieldGenerator/TypeNumber.php b/Classes/TcaDataGenerator/FieldGenerator/TypeNumber.php index 125811e6..74860e69 100644 --- a/Classes/TcaDataGenerator/FieldGenerator/TypeNumber.php +++ b/Classes/TcaDataGenerator/FieldGenerator/TypeNumber.php @@ -22,7 +22,7 @@ /** * Generate data for type=number fields */ -class TypeNumber extends AbstractFieldGenerator implements FieldGeneratorInterface +final class TypeNumber extends AbstractFieldGenerator implements FieldGeneratorInterface { /** * General match if type=number diff --git a/Classes/TcaDataGenerator/FieldGenerator/TypeNumberFormatDecimal.php b/Classes/TcaDataGenerator/FieldGenerator/TypeNumberFormatDecimal.php index a21c29a0..3eb98f7c 100644 --- a/Classes/TcaDataGenerator/FieldGenerator/TypeNumberFormatDecimal.php +++ b/Classes/TcaDataGenerator/FieldGenerator/TypeNumberFormatDecimal.php @@ -22,7 +22,7 @@ /** * Generate data for type=number fields with format=decimal */ -class TypeNumberFormatDecimal extends AbstractFieldGenerator implements FieldGeneratorInterface +final class TypeNumberFormatDecimal extends AbstractFieldGenerator implements FieldGeneratorInterface { /** * General match if type=number and format=decimal diff --git a/Classes/TcaDataGenerator/FieldGenerator/TypePassthrough.php b/Classes/TcaDataGenerator/FieldGenerator/TypePassthrough.php index eeb74f79..d9fb0e3e 100644 --- a/Classes/TcaDataGenerator/FieldGenerator/TypePassthrough.php +++ b/Classes/TcaDataGenerator/FieldGenerator/TypePassthrough.php @@ -22,7 +22,7 @@ /** * Generate data for type=passthrough fields */ -class TypePassthrough extends AbstractFieldGenerator implements FieldGeneratorInterface +final class TypePassthrough extends AbstractFieldGenerator implements FieldGeneratorInterface { /** * @var array General match if type=input diff --git a/Classes/TcaDataGenerator/FieldGenerator/TypePassword.php b/Classes/TcaDataGenerator/FieldGenerator/TypePassword.php index a1375f90..ae95f4eb 100644 --- a/Classes/TcaDataGenerator/FieldGenerator/TypePassword.php +++ b/Classes/TcaDataGenerator/FieldGenerator/TypePassword.php @@ -24,7 +24,7 @@ /** * Generate data for hashed type=password fields */ -class TypePassword extends AbstractFieldGenerator implements FieldGeneratorInterface +final class TypePassword extends AbstractFieldGenerator implements FieldGeneratorInterface { /** * General match if type=password diff --git a/Classes/TcaDataGenerator/FieldGenerator/TypePasswordHashedFalse.php b/Classes/TcaDataGenerator/FieldGenerator/TypePasswordHashedFalse.php index 28fb5ce8..c4f5202d 100644 --- a/Classes/TcaDataGenerator/FieldGenerator/TypePasswordHashedFalse.php +++ b/Classes/TcaDataGenerator/FieldGenerator/TypePasswordHashedFalse.php @@ -22,7 +22,7 @@ /** * Generate data for type=password fields that should not be hashed. */ -class TypePasswordHashedFalse extends AbstractFieldGenerator implements FieldGeneratorInterface +final class TypePasswordHashedFalse extends AbstractFieldGenerator implements FieldGeneratorInterface { /** * General match if type=password diff --git a/Classes/TcaDataGenerator/FieldGenerator/TypeRadio.php b/Classes/TcaDataGenerator/FieldGenerator/TypeRadio.php index a5033b65..b68efe4f 100644 --- a/Classes/TcaDataGenerator/FieldGenerator/TypeRadio.php +++ b/Classes/TcaDataGenerator/FieldGenerator/TypeRadio.php @@ -22,7 +22,7 @@ /** * Generate data for type=radio fields */ -class TypeRadio extends AbstractFieldGenerator implements FieldGeneratorInterface +final class TypeRadio extends AbstractFieldGenerator implements FieldGeneratorInterface { /** * @var array General match if type=check diff --git a/Classes/TcaDataGenerator/FieldGenerator/TypeSelect.php b/Classes/TcaDataGenerator/FieldGenerator/TypeSelect.php index 153bd220..0b801abc 100644 --- a/Classes/TcaDataGenerator/FieldGenerator/TypeSelect.php +++ b/Classes/TcaDataGenerator/FieldGenerator/TypeSelect.php @@ -22,7 +22,7 @@ /** * Generate data for type=select fields */ -class TypeSelect extends AbstractFieldGenerator implements FieldGeneratorInterface +final class TypeSelect extends AbstractFieldGenerator implements FieldGeneratorInterface { /** * @var array General match if type=select diff --git a/Classes/TcaDataGenerator/FieldGenerator/TypeSelectRenderTypeMultipleForeignTableStaticData.php b/Classes/TcaDataGenerator/FieldGenerator/TypeSelectRenderTypeMultipleForeignTableStaticData.php index 9ded517a..a3570e48 100644 --- a/Classes/TcaDataGenerator/FieldGenerator/TypeSelectRenderTypeMultipleForeignTableStaticData.php +++ b/Classes/TcaDataGenerator/FieldGenerator/TypeSelectRenderTypeMultipleForeignTableStaticData.php @@ -24,7 +24,7 @@ /** * Generate data for type=select fields */ -class TypeSelectRenderTypeMultipleForeignTableStaticData extends AbstractFieldGenerator implements FieldGeneratorInterface +final class TypeSelectRenderTypeMultipleForeignTableStaticData extends AbstractFieldGenerator implements FieldGeneratorInterface { /** * @var array General match if type=select diff --git a/Classes/TcaDataGenerator/FieldGenerator/TypeSelectRenderTypeSelectTree.php b/Classes/TcaDataGenerator/FieldGenerator/TypeSelectRenderTypeSelectTree.php index 0bbf2032..e248d94f 100644 --- a/Classes/TcaDataGenerator/FieldGenerator/TypeSelectRenderTypeSelectTree.php +++ b/Classes/TcaDataGenerator/FieldGenerator/TypeSelectRenderTypeSelectTree.php @@ -24,7 +24,7 @@ /** * Generate data for type=select fields */ -class TypeSelectRenderTypeSelectTree extends AbstractFieldGenerator implements FieldGeneratorInterface +final class TypeSelectRenderTypeSelectTree extends AbstractFieldGenerator implements FieldGeneratorInterface { /** * @var array General match if type=select diff --git a/Classes/TcaDataGenerator/FieldGenerator/TypeSelectRenderTypeSingleForeignTable.php b/Classes/TcaDataGenerator/FieldGenerator/TypeSelectRenderTypeSingleForeignTable.php index e8385ac7..8c156f38 100644 --- a/Classes/TcaDataGenerator/FieldGenerator/TypeSelectRenderTypeSingleForeignTable.php +++ b/Classes/TcaDataGenerator/FieldGenerator/TypeSelectRenderTypeSingleForeignTable.php @@ -26,7 +26,7 @@ * Generate data for type=select fields. * Special field for select_single_12 */ -class TypeSelectRenderTypeSingleForeignTable extends AbstractFieldGenerator implements FieldGeneratorInterface +final class TypeSelectRenderTypeSingleForeignTable extends AbstractFieldGenerator implements FieldGeneratorInterface { /** * @var array General match if type=select diff --git a/Classes/TcaDataGenerator/FieldGenerator/TypeSelectRenderTypeSingleForeignTableForType.php b/Classes/TcaDataGenerator/FieldGenerator/TypeSelectRenderTypeSingleForeignTableForType.php index b8d1b46a..2ffeccef 100644 --- a/Classes/TcaDataGenerator/FieldGenerator/TypeSelectRenderTypeSingleForeignTableForType.php +++ b/Classes/TcaDataGenerator/FieldGenerator/TypeSelectRenderTypeSingleForeignTableForType.php @@ -25,7 +25,7 @@ * Generate data for type=select fields. * Special field for 'foreign_table' of table typeforeign */ -class TypeSelectRenderTypeSingleForeignTableForType extends AbstractFieldGenerator implements FieldGeneratorInterface +final class TypeSelectRenderTypeSingleForeignTableForType extends AbstractFieldGenerator implements FieldGeneratorInterface { /** * @var array diff --git a/Classes/TcaDataGenerator/FieldGenerator/TypeText.php b/Classes/TcaDataGenerator/FieldGenerator/TypeText.php index dd757b55..55495bc1 100644 --- a/Classes/TcaDataGenerator/FieldGenerator/TypeText.php +++ b/Classes/TcaDataGenerator/FieldGenerator/TypeText.php @@ -22,7 +22,7 @@ /** * Generate data for type=text fields */ -class TypeText extends AbstractFieldGenerator implements FieldGeneratorInterface +final class TypeText extends AbstractFieldGenerator implements FieldGeneratorInterface { /** * @var array General match if type=text diff --git a/Classes/TcaDataGenerator/FieldGenerator/TypeTextDefaultExtrasRichtext.php b/Classes/TcaDataGenerator/FieldGenerator/TypeTextDefaultExtrasRichtext.php index 58cfae1d..853ae788 100644 --- a/Classes/TcaDataGenerator/FieldGenerator/TypeTextDefaultExtrasRichtext.php +++ b/Classes/TcaDataGenerator/FieldGenerator/TypeTextDefaultExtrasRichtext.php @@ -22,7 +22,7 @@ /** * Generate data for type=text fields */ -class TypeTextDefaultExtrasRichtext extends AbstractFieldGenerator implements FieldGeneratorInterface +final class TypeTextDefaultExtrasRichtext extends AbstractFieldGenerator implements FieldGeneratorInterface { /** * @var array General match if type=text diff --git a/Classes/TcaDataGenerator/FieldGenerator/TypeTextFormatDatetime.php b/Classes/TcaDataGenerator/FieldGenerator/TypeTextFormatDatetime.php index d35cf649..a56b5fe5 100644 --- a/Classes/TcaDataGenerator/FieldGenerator/TypeTextFormatDatetime.php +++ b/Classes/TcaDataGenerator/FieldGenerator/TypeTextFormatDatetime.php @@ -22,7 +22,7 @@ /** * Generate data for type=text fields */ -class TypeTextFormatDatetime extends AbstractFieldGenerator implements FieldGeneratorInterface +final class TypeTextFormatDatetime extends AbstractFieldGenerator implements FieldGeneratorInterface { /** * @var array General match if type=text diff --git a/Classes/TcaDataGenerator/FieldGenerator/TypeTextFormatT3editor.php b/Classes/TcaDataGenerator/FieldGenerator/TypeTextFormatT3editor.php index ab88d2e1..3ad302ac 100644 --- a/Classes/TcaDataGenerator/FieldGenerator/TypeTextFormatT3editor.php +++ b/Classes/TcaDataGenerator/FieldGenerator/TypeTextFormatT3editor.php @@ -22,7 +22,7 @@ /** * Generate data for type=text fields */ -class TypeTextFormatT3editor extends AbstractFieldGenerator implements FieldGeneratorInterface +final class TypeTextFormatT3editor extends AbstractFieldGenerator implements FieldGeneratorInterface { /** * @var array General match if type=text diff --git a/Classes/TcaDataGenerator/FieldGenerator/TypeTextMax30.php b/Classes/TcaDataGenerator/FieldGenerator/TypeTextMax30.php index 3a372954..56569264 100644 --- a/Classes/TcaDataGenerator/FieldGenerator/TypeTextMax30.php +++ b/Classes/TcaDataGenerator/FieldGenerator/TypeTextMax30.php @@ -22,7 +22,7 @@ /** * Generate data for type=text fields */ -class TypeTextMax30 extends AbstractFieldGenerator implements FieldGeneratorInterface +final class TypeTextMax30 extends AbstractFieldGenerator implements FieldGeneratorInterface { /** * @var array General match if type=text diff --git a/Classes/TcaDataGenerator/FieldGenerator/TypeTextWizardSelect.php b/Classes/TcaDataGenerator/FieldGenerator/TypeTextWizardSelect.php index ab2f305e..132bcafc 100644 --- a/Classes/TcaDataGenerator/FieldGenerator/TypeTextWizardSelect.php +++ b/Classes/TcaDataGenerator/FieldGenerator/TypeTextWizardSelect.php @@ -22,7 +22,7 @@ /** * Generate data for type=text fields */ -class TypeTextWizardSelect extends AbstractFieldGenerator implements FieldGeneratorInterface +final class TypeTextWizardSelect extends AbstractFieldGenerator implements FieldGeneratorInterface { /** * @var array General match if type=text diff --git a/Classes/TcaDataGenerator/FieldGenerator/TypeTextWizardTable.php b/Classes/TcaDataGenerator/FieldGenerator/TypeTextWizardTable.php index db0d3e46..b5795430 100644 --- a/Classes/TcaDataGenerator/FieldGenerator/TypeTextWizardTable.php +++ b/Classes/TcaDataGenerator/FieldGenerator/TypeTextWizardTable.php @@ -22,7 +22,7 @@ /** * Generate data for type=text fields */ -class TypeTextWizardTable extends AbstractFieldGenerator implements FieldGeneratorInterface +final class TypeTextWizardTable extends AbstractFieldGenerator implements FieldGeneratorInterface { /** * @var array General match if type=text diff --git a/Classes/TcaDataGenerator/FieldGenerator/TypeUser.php b/Classes/TcaDataGenerator/FieldGenerator/TypeUser.php index d6e91e76..c1c6878c 100644 --- a/Classes/TcaDataGenerator/FieldGenerator/TypeUser.php +++ b/Classes/TcaDataGenerator/FieldGenerator/TypeUser.php @@ -22,7 +22,7 @@ /** * Generate data for type=user fields */ -class TypeUser extends AbstractFieldGenerator implements FieldGeneratorInterface +final class TypeUser extends AbstractFieldGenerator implements FieldGeneratorInterface { /** * @var array General match if type=input diff --git a/Classes/TcaDataGenerator/FieldGeneratorResolver.php b/Classes/TcaDataGenerator/FieldGeneratorResolver.php index eff7bc08..8a60e6ff 100644 --- a/Classes/TcaDataGenerator/FieldGeneratorResolver.php +++ b/Classes/TcaDataGenerator/FieldGeneratorResolver.php @@ -22,7 +22,7 @@ /** * Find matching field generator class instance */ -class FieldGeneratorResolver +final class FieldGeneratorResolver { /** * List of field generators to be called for values. diff --git a/Classes/TcaDataGenerator/Generator.php b/Classes/TcaDataGenerator/Generator.php index 26ad7a25..00e7b21e 100644 --- a/Classes/TcaDataGenerator/Generator.php +++ b/Classes/TcaDataGenerator/Generator.php @@ -28,7 +28,7 @@ /** * Manage a page tree with all test / demo styleguide data */ -class Generator extends AbstractGenerator +final class Generator extends AbstractGenerator { /** * List of handlers to create full table data. There is a diff --git a/Classes/TcaDataGenerator/GeneratorFrontend.php b/Classes/TcaDataGenerator/GeneratorFrontend.php index 6244dbff..8a960771 100644 --- a/Classes/TcaDataGenerator/GeneratorFrontend.php +++ b/Classes/TcaDataGenerator/GeneratorFrontend.php @@ -27,7 +27,7 @@ /** * Manage a page tree with all test / demo styleguide data */ -class GeneratorFrontend extends AbstractGenerator +final class GeneratorFrontend extends AbstractGenerator { public function create(string $basePath = '', int $hidden = 1): void { diff --git a/Classes/TcaDataGenerator/GeneratorNotFoundException.php b/Classes/TcaDataGenerator/GeneratorNotFoundException.php index 3800d505..cda79156 100644 --- a/Classes/TcaDataGenerator/GeneratorNotFoundException.php +++ b/Classes/TcaDataGenerator/GeneratorNotFoundException.php @@ -20,4 +20,4 @@ /** * Exception thrown if FieldGenerator does not find a class */ -class GeneratorNotFoundException extends Exception {} +final class GeneratorNotFoundException extends Exception {} diff --git a/Classes/TcaDataGenerator/RecordData.php b/Classes/TcaDataGenerator/RecordData.php index b062b9e1..ef24b193 100644 --- a/Classes/TcaDataGenerator/RecordData.php +++ b/Classes/TcaDataGenerator/RecordData.php @@ -22,7 +22,7 @@ /** * Create data for a specific table and its child tables */ -class RecordData +final class RecordData { /** * Generate data for a given table and insert into database diff --git a/Classes/TcaDataGenerator/RecordFinder.php b/Classes/TcaDataGenerator/RecordFinder.php index a7fe43ec..c225e6be 100644 --- a/Classes/TcaDataGenerator/RecordFinder.php +++ b/Classes/TcaDataGenerator/RecordFinder.php @@ -31,7 +31,7 @@ * Class contains helper methods to locate uids or pids of specific records * in the system. */ -class RecordFinder +final class RecordFinder { /** * Returns a uid list of existing styleguide demo top level pages. diff --git a/Classes/TcaDataGenerator/TableHandler/AbstractTableHandler.php b/Classes/TcaDataGenerator/TableHandler/AbstractTableHandler.php index 5080cffb..29b31f22 100644 --- a/Classes/TcaDataGenerator/TableHandler/AbstractTableHandler.php +++ b/Classes/TcaDataGenerator/TableHandler/AbstractTableHandler.php @@ -26,7 +26,7 @@ /** * Abstract table handler implements general methods */ -class AbstractTableHandler +abstract class AbstractTableHandler { /** * @var string Table name to match diff --git a/Classes/TcaDataGenerator/TableHandler/General.php b/Classes/TcaDataGenerator/TableHandler/General.php index 1ea721dd..6daeb403 100644 --- a/Classes/TcaDataGenerator/TableHandler/General.php +++ b/Classes/TcaDataGenerator/TableHandler/General.php @@ -27,7 +27,7 @@ /** * General table handler */ -class General extends AbstractTableHandler implements TableHandlerInterface +final class General extends AbstractTableHandler implements TableHandlerInterface { /** * Match always diff --git a/Classes/TcaDataGenerator/TableHandler/InlineMn.php b/Classes/TcaDataGenerator/TableHandler/InlineMn.php index ddb1803f..29aadf07 100644 --- a/Classes/TcaDataGenerator/TableHandler/InlineMn.php +++ b/Classes/TcaDataGenerator/TableHandler/InlineMn.php @@ -27,7 +27,7 @@ /** * Generate data for table tx_styleguide_inline_mn */ -class InlineMn extends AbstractTableHandler implements TableHandlerInterface +final class InlineMn extends AbstractTableHandler implements TableHandlerInterface { /** * @var string Table name to match diff --git a/Classes/TcaDataGenerator/TableHandler/InlineMnGroup.php b/Classes/TcaDataGenerator/TableHandler/InlineMnGroup.php index 3bce82bc..dfc4c377 100644 --- a/Classes/TcaDataGenerator/TableHandler/InlineMnGroup.php +++ b/Classes/TcaDataGenerator/TableHandler/InlineMnGroup.php @@ -27,7 +27,7 @@ /** * Generate data for table tx_styleguide_inline_mngroup */ -class InlineMnGroup extends AbstractTableHandler implements TableHandlerInterface +final class InlineMnGroup extends AbstractTableHandler implements TableHandlerInterface { /** * @var string Table name to match diff --git a/Classes/TcaDataGenerator/TableHandler/InlineMnSymmetric.php b/Classes/TcaDataGenerator/TableHandler/InlineMnSymmetric.php index 27d8ac2c..465fa7c6 100644 --- a/Classes/TcaDataGenerator/TableHandler/InlineMnSymmetric.php +++ b/Classes/TcaDataGenerator/TableHandler/InlineMnSymmetric.php @@ -27,7 +27,7 @@ /** * Generate data for table tx_styleguide_inline_mnsymmetric */ -class InlineMnSymmetric extends AbstractTableHandler implements TableHandlerInterface +final class InlineMnSymmetric extends AbstractTableHandler implements TableHandlerInterface { /** * @var string Table name to match diff --git a/Classes/TcaDataGenerator/TableHandler/InlineMnSymmetricGroup.php b/Classes/TcaDataGenerator/TableHandler/InlineMnSymmetricGroup.php index 6024b8fd..8cf20d18 100644 --- a/Classes/TcaDataGenerator/TableHandler/InlineMnSymmetricGroup.php +++ b/Classes/TcaDataGenerator/TableHandler/InlineMnSymmetricGroup.php @@ -27,7 +27,7 @@ /** * Generate data for table tx_styleguide_inline_mnsymmetricgroup */ -class InlineMnSymmetricGroup extends AbstractTableHandler implements TableHandlerInterface +final class InlineMnSymmetricGroup extends AbstractTableHandler implements TableHandlerInterface { /** * @var string Table name to match diff --git a/Classes/TcaDataGenerator/TableHandler/StaticData.php b/Classes/TcaDataGenerator/TableHandler/StaticData.php index 0af017e6..d8e87537 100644 --- a/Classes/TcaDataGenerator/TableHandler/StaticData.php +++ b/Classes/TcaDataGenerator/TableHandler/StaticData.php @@ -25,7 +25,7 @@ /** * Generate data for table tx_styleguide_staticdata */ -class StaticData extends AbstractTableHandler implements TableHandlerInterface +final class StaticData extends AbstractTableHandler implements TableHandlerInterface { /** * @var string Table name to match diff --git a/Classes/UserFunctions/ExtensionConfiguration/User1.php b/Classes/UserFunctions/ExtensionConfiguration/User1.php index 6829cf9c..feccb3d7 100644 --- a/Classes/UserFunctions/ExtensionConfiguration/User1.php +++ b/Classes/UserFunctions/ExtensionConfiguration/User1.php @@ -18,7 +18,7 @@ /** * User function 1 */ -class User1 +final class User1 { /** * Simple user function returning a var_dump of input parameters diff --git a/Classes/UserFunctions/FormEngine/DisplayConditionUserFunc.php b/Classes/UserFunctions/FormEngine/DisplayConditionUserFunc.php index cf666fd7..0ca3fd3e 100644 --- a/Classes/UserFunctions/FormEngine/DisplayConditionUserFunc.php +++ b/Classes/UserFunctions/FormEngine/DisplayConditionUserFunc.php @@ -20,7 +20,7 @@ /** * A user function to compare two fields */ -class DisplayConditionUserFunc +final class DisplayConditionUserFunc { /** * compare two fields diff --git a/Classes/UserFunctions/FormEngine/SelectItemSorter.php b/Classes/UserFunctions/FormEngine/SelectItemSorter.php index d0245216..e48ecf9c 100644 --- a/Classes/UserFunctions/FormEngine/SelectItemSorter.php +++ b/Classes/UserFunctions/FormEngine/SelectItemSorter.php @@ -20,7 +20,7 @@ /** * A user function to sort ites */ -class SelectItemSorter +final class SelectItemSorter { /** * Sort items by their reverse titles diff --git a/Classes/UserFunctions/FormEngine/SlugPrefix.php b/Classes/UserFunctions/FormEngine/SlugPrefix.php index 314bffa7..51056350 100644 --- a/Classes/UserFunctions/FormEngine/SlugPrefix.php +++ b/Classes/UserFunctions/FormEngine/SlugPrefix.php @@ -22,7 +22,7 @@ */ use TYPO3\CMS\Backend\Form\FormDataProvider\TcaSlug; -class SlugPrefix +final class SlugPrefix { public function getPrefix(array $parameters, TcaSlug $reference): string { diff --git a/Classes/UserFunctions/FormEngine/TypeCheckbox8ItemsProcFunc.php b/Classes/UserFunctions/FormEngine/TypeCheckbox8ItemsProcFunc.php index 9cefb3c0..0a14e093 100644 --- a/Classes/UserFunctions/FormEngine/TypeCheckbox8ItemsProcFunc.php +++ b/Classes/UserFunctions/FormEngine/TypeCheckbox8ItemsProcFunc.php @@ -18,7 +18,7 @@ /** * A user function used in checkbox_8 */ -class TypeCheckbox8ItemsProcFunc +final class TypeCheckbox8ItemsProcFunc { /** * Add two items to existing ones diff --git a/Classes/UserFunctions/FormEngine/TypeRadio5ItemsProcFunc.php b/Classes/UserFunctions/FormEngine/TypeRadio5ItemsProcFunc.php index 62fb46a6..eccd3a26 100644 --- a/Classes/UserFunctions/FormEngine/TypeRadio5ItemsProcFunc.php +++ b/Classes/UserFunctions/FormEngine/TypeRadio5ItemsProcFunc.php @@ -18,7 +18,7 @@ /** * A user function used in radio_5 */ -class TypeRadio5ItemsProcFunc +final class TypeRadio5ItemsProcFunc { /** * Add two items to existing ones diff --git a/Classes/UserFunctions/FormEngine/TypeSelect2ItemsProcFunc.php b/Classes/UserFunctions/FormEngine/TypeSelect2ItemsProcFunc.php index 0bf8f98c..fa24d158 100644 --- a/Classes/UserFunctions/FormEngine/TypeSelect2ItemsProcFunc.php +++ b/Classes/UserFunctions/FormEngine/TypeSelect2ItemsProcFunc.php @@ -18,7 +18,7 @@ /** * A user function used in select_2 */ -class TypeSelect2ItemsProcFunc +final class TypeSelect2ItemsProcFunc { /** * Add two items to existing ones diff --git a/Classes/UserFunctions/FormEngine/TypeSelect33ItemsProcFunc.php b/Classes/UserFunctions/FormEngine/TypeSelect33ItemsProcFunc.php index 95c0dd39..b99c797c 100644 --- a/Classes/UserFunctions/FormEngine/TypeSelect33ItemsProcFunc.php +++ b/Classes/UserFunctions/FormEngine/TypeSelect33ItemsProcFunc.php @@ -18,7 +18,7 @@ /** * A user function used in select_33 */ -class TypeSelect33ItemsProcFunc +final class TypeSelect33ItemsProcFunc { /** * Add two items to existing ones diff --git a/Classes/UserFunctions/FormEngine/TypeUserPalette.php b/Classes/UserFunctions/FormEngine/TypeUserPalette.php index 6d7788de..8fd35d6c 100644 --- a/Classes/UserFunctions/FormEngine/TypeUserPalette.php +++ b/Classes/UserFunctions/FormEngine/TypeUserPalette.php @@ -18,7 +18,7 @@ /** * A user function rendering a type=user TCA type used in palette_1_1 */ -class TypeUserPalette +final class TypeUserPalette { /** * @param array $parameters diff --git a/Classes/ViewHelpers/CodeViewHelper.php b/Classes/ViewHelpers/CodeViewHelper.php index f4b4c7ab..a02093be 100644 --- a/Classes/ViewHelpers/CodeViewHelper.php +++ b/Classes/ViewHelpers/CodeViewHelper.php @@ -22,7 +22,7 @@ /** * Render code snippets in a usable way */ -class CodeViewHelper extends AbstractViewHelper +final class CodeViewHelper extends AbstractViewHelper { /** * @var bool