From 2d540cf1f30f767b28816aaafcd7bba52adf60cc Mon Sep 17 00:00:00 2001 From: Stefan Froemken Date: Fri, 26 Dec 2025 13:31:38 +0100 Subject: [PATCH 1/3] Add TYPO3 14 compatibility --- composer.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 97410bd..48178d9 100644 --- a/composer.json +++ b/composer.json @@ -23,9 +23,9 @@ ], "require": { "php": "^8.0", - "typo3/cms-backend": "^11.0 || ^12.0 || ^13.0", - "typo3/cms-core": "^11.0 || ^12.0 || ^13.0", - "typo3/cms-frontend": "^11.0 || ^12.0 || ^13.0", + "typo3/cms-backend": "^11.0 || ^12.0 || ^13.0 || ^14.0", + "typo3/cms-core": "^11.0 || ^12.0 || ^13.0 || ^14.0", + "typo3/cms-frontend": "^11.0 || ^12.0 || ^13.0 || ^14.0", "sentry/sentry": "^4.6" }, "extra": { From d3e8e344be99e1fa2a6914accd8f8337518efebb Mon Sep 17 00:00:00 2001 From: Stefan Froemken Date: Fri, 26 Dec 2025 13:33:09 +0100 Subject: [PATCH 2/3] Remove old TYPO3 compatibilities --- composer.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 48178d9..6bfa6a3 100644 --- a/composer.json +++ b/composer.json @@ -23,9 +23,9 @@ ], "require": { "php": "^8.0", - "typo3/cms-backend": "^11.0 || ^12.0 || ^13.0 || ^14.0", - "typo3/cms-core": "^11.0 || ^12.0 || ^13.0 || ^14.0", - "typo3/cms-frontend": "^11.0 || ^12.0 || ^13.0 || ^14.0", + "typo3/cms-backend": "^14.0", + "typo3/cms-core": "^14.0", + "typo3/cms-frontend": "^14.0", "sentry/sentry": "^4.6" }, "extra": { From 0579c5da61f0dba4dfd810a7cba9f9e10bef3853 Mon Sep 17 00:00:00 2001 From: Stefan Froemken Date: Fri, 26 Dec 2025 13:33:44 +0100 Subject: [PATCH 3/3] Migrate SystemInfoToolbar to new InformationStatus enum --- .../SystemInformationToolbarCollectorEventListener.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Classes/EventListener/SystemInformationToolbarCollectorEventListener.php b/Classes/EventListener/SystemInformationToolbarCollectorEventListener.php index 5f499de..2f80421 100644 --- a/Classes/EventListener/SystemInformationToolbarCollectorEventListener.php +++ b/Classes/EventListener/SystemInformationToolbarCollectorEventListener.php @@ -5,7 +5,7 @@ use Networkteam\SentryClient\Service\ConfigurationService; use Networkteam\SentryClient\Service\SentryService; use TYPO3\CMS\Backend\Backend\Event\SystemInformationToolbarCollectorEvent; -use TYPO3\CMS\Backend\Toolbar\Enumeration\InformationStatus; +use TYPO3\CMS\Backend\Toolbar\InformationStatus; use TYPO3\CMS\Core\Localization\LanguageService; class SystemInformationToolbarCollectorEventListener @@ -21,7 +21,7 @@ public function __invoke(SystemInformationToolbarCollectorEvent $event): void 'Sentry', $label, 'tx-sentryclient-sentry-glyph-light', - $isActive ? InformationStatus::STATUS_OK : InformationStatus::STATUS_ERROR + $isActive ? InformationStatus::OK : InformationStatus::ERROR ); if ($isActive) {