From 8d508a4d663bafa0232d239ecf8ebcaa58799b3e Mon Sep 17 00:00:00 2001 From: Christian Wolfram Date: Tue, 6 May 2025 16:45:55 +0200 Subject: [PATCH 1/3] Prepare v13 compatible release --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 7caa296..aa9a3f4 100644 --- a/composer.json +++ b/composer.json @@ -16,7 +16,7 @@ "require": { "php": ">= 8.1 < 8.4", "ramsey/collection": "^2.0", - "typo3/cms-core": "^12.4" + "typo3/cms-core": "^12.4 || ^13.4" }, "require-dev": { "rector/rector": "^0.12.23", From dcddb74cc0188e99d955a41b7ff1b56c1270ef29 Mon Sep 17 00:00:00 2001 From: Daniel Siepmann Date: Mon, 16 Jun 2025 12:14:47 +0200 Subject: [PATCH 2/3] [TASK] Migrate database usage in VariablesService --- Classes/Service/VariablesService.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Classes/Service/VariablesService.php b/Classes/Service/VariablesService.php index e7cb415..4db444e 100644 --- a/Classes/Service/VariablesService.php +++ b/Classes/Service/VariablesService.php @@ -215,7 +215,7 @@ public function getNearestTimestampForMarkers(array $usedMarkerKeys): int . 'CASE WHEN ' . $queryBuilder->expr()->lte( $timeFields[$field], - $queryBuilder->createNamedParameter($now, \PDO::PARAM_INT) + $queryBuilder->createNamedParameter($now, Connection::PARAM_INT) ) . ' THEN NULL ELSE ' . $queryBuilder->quoteIdentifier($timeFields[$field]) . ' END' . ') AS ' . $queryBuilder->quoteIdentifier($timeFields[$field]) @@ -223,7 +223,7 @@ public function getNearestTimestampForMarkers(array $usedMarkerKeys): int $timeConditions->with( $queryBuilder->expr()->gt( $timeFields[$field], - $queryBuilder->createNamedParameter($now, \PDO::PARAM_INT) + $queryBuilder->createNamedParameter($now, Connection::PARAM_INT) ) ); } @@ -239,8 +239,8 @@ public function getNearestTimestampForMarkers(array $usedMarkerKeys): int $timeConditions ); $row = $queryBuilder - ->execute() - ->fetch(); + ->executeQuery() + ->fetchAssociative(); if ($row) { foreach (array_keys($timeFields) as $timeField) { From 8553c3638e5049ac5e75cc8b570a41ecd6c431b1 Mon Sep 17 00:00:00 2001 From: Daniel Siepmann Date: Thu, 18 Sep 2025 10:38:06 +0200 Subject: [PATCH 3/3] [TASK] Add TYPO3 13.4 to CI --- .github/workflows/ci.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 1e85da9..c1ec233 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -112,6 +112,12 @@ jobs: typo3-version: '^12.4' - php-version: '8.3' typo3-version: '^12.4' + - php-version: '8.1' + typo3-version: '^13.4' + - php-version: '8.2' + typo3-version: '^13.4' + - php-version: '8.3' + typo3-version: '^13.4' steps: - uses: actions/checkout@v3