Skip to content

Commit 61f1043

Browse files
authored
Support Typo3 v12 & v13 (#147)
* support typo v13 * change mailer dep
1 parent 28b7968 commit 61f1043

5 files changed

Lines changed: 15 additions & 21 deletions

File tree

Classes/Controller/AdministrationController.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
namespace Typoheads\Formhandler\Controller;
1414

1515
use Psr\Http\Message\ResponseInterface;
16-
use TYPO3\CMS\Backend\Attribute\Controller;
1716
use TYPO3\CMS\Backend\Template\ModuleTemplateFactory;
1817
use TYPO3\CMS\Core\Http\PropagateResponseException;
1918
use TYPO3\CMS\Core\Imaging\IconFactory;
@@ -25,7 +24,6 @@
2524
use Typoheads\Formhandler\Domain\Model\Log;
2625
use Typoheads\Formhandler\Domain\Repository\LogRepository;
2726

28-
#[Controller]
2927
final class AdministrationController extends ActionController {
3028
public function __construct(
3129
protected readonly ModuleTemplateFactory $moduleTemplateFactory,

Configuration/Services.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,6 @@ services:
1717
Typoheads\Formhandler\Session\Typo3Session:
1818
arguments:
1919
$cache: '@cache.formhandler_cache'
20+
21+
Typoheads\Formhandler\Controller\AdministrationController:
22+
tags: ['backend.controller']

Configuration/TCA/tx_formhandler_domain_model_log.php

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,7 @@
4040
'renderType' => 'checkboxToggle',
4141
'items' => [
4242
[
43-
0 => '',
44-
1 => '',
43+
'label' => '',
4544
'invertStateDisplay' => true,
4645
],
4746
],
@@ -94,12 +93,6 @@
9493
'config' => [
9594
'type' => 'check',
9695
'renderType' => 'checkboxToggle',
97-
'items' => [
98-
[
99-
0 => '',
100-
1 => '',
101-
],
102-
],
10396
],
10497
],
10598
'crdate' => [

composer.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,21 @@
1515
],
1616
"require": {
1717
"php": "^8.2",
18-
"typo3/cms-core": "^12.4",
19-
"typo3/cms-extbase": "^12.4",
20-
"typo3/cms-fluid": "^12.4",
21-
"typo3/cms-frontend": "^12.4",
18+
"typo3/cms-core": "^12.4 || ^13.4",
19+
"typo3/cms-extbase": "^12.4 || ^13.4",
20+
"typo3/cms-fluid": "^12.4 || ^13.4",
21+
"typo3/cms-frontend": "^12.4 || ^13.4",
2222
"tecnickcom/tcpdf": "^6.6",
2323
"parsecsv/php-parsecsv": "^1.3",
2424
"esi/mimey": "^1.0"
2525
},
2626
"require-dev": {
27-
"typo3/cms-backend": "^12.4",
28-
"symfony/mailer": "^6.3",
29-
"phpstan/phpstan": "^1.10",
30-
"saschaegerer/phpstan-typo3": "^1.8",
31-
"helmich/typo3-typoscript-lint": "^3.1",
32-
"friendsofphp/php-cs-fixer": "^3.18",
27+
"typo3/cms-backend": "^12.4 || ^13.4",
28+
"symfony/mailer": "^6.4 || ^7.0",
29+
"phpstan/phpstan": "^1.12",
30+
"saschaegerer/phpstan-typo3": "^1.10",
31+
"helmich/typo3-typoscript-lint": "^3",
32+
"friendsofphp/php-cs-fixer": "^3",
3333
"google/recaptcha": "^1.3",
3434
"jakota/documentation-builder": "dev-main"
3535
},

ext_emconf.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
'version' => '9.0.0',
1818
'constraints' => [
1919
'depends' => [
20-
'typo3' => '^12.4',
20+
'typo3' => '12.4.0-13.4.99',
2121
],
2222
'conflicts' => [],
2323
'suggests' => [],

0 commit comments

Comments
 (0)