diff --git a/Classes/Controller/AdministrationController.php b/Classes/Controller/AdministrationController.php index 8ac34f4b..6fdf9362 100644 --- a/Classes/Controller/AdministrationController.php +++ b/Classes/Controller/AdministrationController.php @@ -13,7 +13,6 @@ namespace Typoheads\Formhandler\Controller; use Psr\Http\Message\ResponseInterface; -use TYPO3\CMS\Backend\Attribute\Controller; use TYPO3\CMS\Backend\Template\ModuleTemplateFactory; use TYPO3\CMS\Core\Http\PropagateResponseException; use TYPO3\CMS\Core\Imaging\IconFactory; @@ -25,7 +24,6 @@ use Typoheads\Formhandler\Domain\Model\Log; use Typoheads\Formhandler\Domain\Repository\LogRepository; -#[Controller] final class AdministrationController extends ActionController { public function __construct( protected readonly ModuleTemplateFactory $moduleTemplateFactory, diff --git a/Configuration/Services.yaml b/Configuration/Services.yaml index 38f7c9d3..ed04925f 100644 --- a/Configuration/Services.yaml +++ b/Configuration/Services.yaml @@ -17,3 +17,6 @@ services: Typoheads\Formhandler\Session\Typo3Session: arguments: $cache: '@cache.formhandler_cache' + + Typoheads\Formhandler\Controller\AdministrationController: + tags: ['backend.controller'] \ No newline at end of file diff --git a/Configuration/TCA/tx_formhandler_domain_model_log.php b/Configuration/TCA/tx_formhandler_domain_model_log.php index fca496ac..ed863cc2 100644 --- a/Configuration/TCA/tx_formhandler_domain_model_log.php +++ b/Configuration/TCA/tx_formhandler_domain_model_log.php @@ -40,8 +40,7 @@ 'renderType' => 'checkboxToggle', 'items' => [ [ - 0 => '', - 1 => '', + 'label' => '', 'invertStateDisplay' => true, ], ], @@ -94,12 +93,6 @@ 'config' => [ 'type' => 'check', 'renderType' => 'checkboxToggle', - 'items' => [ - [ - 0 => '', - 1 => '', - ], - ], ], ], 'crdate' => [ diff --git a/composer.json b/composer.json index f7ab52a1..69c0ef1b 100644 --- a/composer.json +++ b/composer.json @@ -15,21 +15,21 @@ ], "require": { "php": "^8.2", - "typo3/cms-core": "^12.4", - "typo3/cms-extbase": "^12.4", - "typo3/cms-fluid": "^12.4", - "typo3/cms-frontend": "^12.4", + "typo3/cms-core": "^12.4 || ^13.4", + "typo3/cms-extbase": "^12.4 || ^13.4", + "typo3/cms-fluid": "^12.4 || ^13.4", + "typo3/cms-frontend": "^12.4 || ^13.4", "tecnickcom/tcpdf": "^6.6", "parsecsv/php-parsecsv": "^1.3", "esi/mimey": "^1.0" }, "require-dev": { - "typo3/cms-backend": "^12.4", - "symfony/mailer": "^6.3", - "phpstan/phpstan": "^1.10", - "saschaegerer/phpstan-typo3": "^1.8", - "helmich/typo3-typoscript-lint": "^3.1", - "friendsofphp/php-cs-fixer": "^3.18", + "typo3/cms-backend": "^12.4 || ^13.4", + "symfony/mailer": "^6.4 || ^7.0", + "phpstan/phpstan": "^1.12", + "saschaegerer/phpstan-typo3": "^1.10", + "helmich/typo3-typoscript-lint": "^3", + "friendsofphp/php-cs-fixer": "^3", "google/recaptcha": "^1.3", "jakota/documentation-builder": "dev-main" }, diff --git a/ext_emconf.php b/ext_emconf.php index dae01731..033301bd 100644 --- a/ext_emconf.php +++ b/ext_emconf.php @@ -17,7 +17,7 @@ 'version' => '9.0.0', 'constraints' => [ 'depends' => [ - 'typo3' => '^12.4', + 'typo3' => '12.4.0-13.4.99', ], 'conflicts' => [], 'suggests' => [],