Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/compute.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ env:
"^11.5"
"^12.4"
"^13.4"
"^14"
TYPO3_DEV: |
"11.5.x-dev"
"12.4.x-dev"
Expand All @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion Classes/Repository/ContentRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
17 changes: 10 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand All @@ -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
Expand Down
19 changes: 1 addition & 18 deletions ext_emconf.php
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
<?php

/***************************************************************
* Extension Manager/Repository config file for ext "content_defender".
*
* Auto generated 01-12-2024 22:51
*
* Manual updates:
* Only the data in the array - everything else is removed by next
* writing. "version" and "dependencies" must not be touched!
***************************************************************/

$EM_CONF[$_EXTKEY] = array (
'title' => 'Content Defender',
'description' => 'Define allowed or denied content element types in your backend layouts',
Expand All @@ -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',
),
),
);
Expand Down
Loading