diff --git a/.github/workflows/compute.yml b/.github/workflows/compute.yml index 194f6c2..bd617ac 100644 --- a/.github/workflows/compute.yml +++ b/.github/workflows/compute.yml @@ -12,6 +12,7 @@ env: "^11.5" "^12.4" "^13.4" + "^14" TYPO3_DEV: | "11.5.x-dev" "12.4.x-dev" @@ -34,6 +35,14 @@ env: "typo3": "13.4.x-dev", "php": "8.1", }, + "14.0-8.1": { + "typo3": "^14", + "php": "8.1", + }, + "14.0-8.2": { + "typo3": "^14", + "php": "8.2", + }, } on: diff --git a/Classes/Repository/ContentRepository.php b/Classes/Repository/ContentRepository.php index 63f91be..08b92dc 100644 --- a/Classes/Repository/ContentRepository.php +++ b/Classes/Repository/ContentRepository.php @@ -149,7 +149,7 @@ protected function fetchRecordsForColPos(array $record): array while ($row = $statement->fetchAssociative()) { BackendUtility::workspaceOL('tt_content', $row, -99, true); - if (is_array($row) && !VersionState::cast($row['t3ver_state'])->equals(VersionState::DELETE_PLACEHOLDER)) { + if (is_array($row) && ! VersionState::tryFrom($row['t3ver_state']) === VersionState::DELETE_PLACEHOLDER) { $uid = ($row['_ORIG_uid'] ?? 0) ?: $row['uid']; $rows[$uid] = $uid; } diff --git a/composer.json b/composer.json index f65a78f..806f003 100644 --- a/composer.json +++ b/composer.json @@ -21,19 +21,19 @@ ], "require": { "php": "^8.1", - "typo3/cms-backend": "^11.5 || ^12.4 || ^13.4", - "typo3/cms-core": "^11.5 || ^12.4 || ^13.4" + "typo3/cms-backend": "^11.5 || ^12.4 || ^13.4 || ^14", + "typo3/cms-core": "^11.5 || ^12.4 || ^13.4 || ^14" }, "require-dev": { "php-parallel-lint/php-parallel-lint": "^1.4", "phpspec/prophecy": "^1.12.1", "phpspec/prophecy-phpunit": "^2.0", "phpunit/phpunit": "^10.5", - "typo3/cms-fluid-styled-content": "^11.5 || ^12.4 || ^13.4", - "typo3/cms-indexed-search": "^11.5 || ^12.4 || ^13.4", - "typo3/cms-workspaces": "^11.5 || ^12.4 || ^13.4", - "typo3/minimal": "^11.5 || ^12.0 || ^13.0", - "typo3/testing-framework": "^7.0.4 || ^8.2.3" + "typo3/cms-fluid-styled-content": "^11.5 || ^12.4 || ^13.4 || ^14", + "typo3/cms-indexed-search": "^11.5 || ^12.4 || ^13.4 || ^14", + "typo3/cms-workspaces": "^11.5 || ^12.4 || ^13.4 || ^14", + "typo3/minimal": "^11.5 || ^12.0 || ^13.0 || ^14", + "typo3/testing-framework": "^7.0.4 || ^8.2.3 || ^9.1.2" }, "autoload": { "psr-4": { @@ -53,6 +53,9 @@ "typo3/class-alias-loader": true, "typo3/cms-composer-installers": true }, + "audit": { + "block-insecure": false + }, "bin-dir": ".Build/bin", "vendor-dir": ".Build/vendor", "sort-packages": true diff --git a/ext_emconf.php b/ext_emconf.php index ff52065..ad521f6 100644 --- a/ext_emconf.php +++ b/ext_emconf.php @@ -1,15 +1,5 @@ 'Content Defender', 'description' => 'Define allowed or denied content element types in your backend layouts', @@ -19,20 +9,13 @@ 'author_company' => 'biz-design', 'state' => 'stable', 'uploadfolder' => 0, - 'createDirs' => '', 'clearCacheOnLoad' => 0, 'version' => '3.5.3', 'constraints' => array ( 'depends' => array ( - 'typo3' => '11.5.0-13.4.99', - ), - 'conflicts' => - array ( - ), - 'suggests' => - array ( + 'typo3' => '11.5.0-14.4.99', ), ), );