Skip to content

Commit

Permalink
[TASK] Add support for TYPO3 v13
Browse files Browse the repository at this point in the history
  • Loading branch information
sypets committed Nov 18, 2024
1 parent 3fe4706 commit 31eeae3
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 19 deletions.
4 changes: 4 additions & 0 deletions Classes/EventListener/PageLayoutListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
use TYPO3\CMS\Core\Imaging\IconFactory;
use TYPO3\CMS\Core\Localization\LanguageService;

/**
* @todo can be removed in TYPO3 v13 because TYPO3 v13 provides this functionality:
* @see https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/13.3/Feature-103789-AddCloseButtonToPageLayoutIfReturnUrlIsSet.html
*/
class PageLayoutListener
{
protected IconFactory $iconFactory;
Expand Down
12 changes: 0 additions & 12 deletions Classes/Xclass/PageLayoutControllerWithCallouts.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,6 @@

namespace Sypets\PageCallouts\Xclass;

/*
* This file is part of the TYPO3 CMS project.
*
* It is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License, either version 2
* of the License, or any later version.
*
* For the full copyright and license information, please read the
* LICENSE.txt file that was distributed with this source code.
*
* The TYPO3 project - inspiring people to share!
*/
use Psr\Http\Message\ServerRequestInterface;
use TYPO3\CMS\Backend\Controller\PageLayoutController;
use TYPO3\CMS\Core\Utility\GeneralUtility;
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
}
},
"require": {
"typo3/cms-core": "^12.4",
"typo3/cms-backend": "^12.4",
"typo3/cms-fluid": "^12.4"
"typo3/cms-core": "^12.4 || 13.4",
"typo3/cms-backend": "^12.4 || 13.4",
"typo3/cms-fluid": "^12.4 || 13.4"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.0",
Expand Down
8 changes: 4 additions & 4 deletions ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
'author_email' => 'sypets@gmx.de',
'author_company' => '',
'state' => 'stable',
'version' => '6.0.1-dev',
'version' => '6.1.0-dev',
'uploadfolder' => 0,
'createDirs' => '',
'clearCacheOnLoad' => 0,
'constraints' => [
'depends' => [
'typo3' => '12.4.10-12.4.99',
'backend' => '12.4.10-12.4.99',
'fluid' => '12.4.10-12.4.99',
'typo3' => '12.4.10-13.4.99',
'backend' => '12.4.10-13.4.99',
'fluid' => '12.4.10-13.4.99',
],
'conflicts' => [
'qc_be_pagelanguage' => '1.0.0-1.0.1'
Expand Down

0 comments on commit 31eeae3

Please sign in to comment.