Skip to content
Merged
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
8 changes: 6 additions & 2 deletions Classes/LinkAnalyzer.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
use TYPO3\CMS\Core\Database\Connection;
use TYPO3\CMS\Core\Database\ConnectionPool;
use TYPO3\CMS\Core\Database\Query\Restriction\DeletedRestriction;
use TYPO3\CMS\Core\Information\Typo3Version;
use TYPO3\CMS\Core\Localization\LanguageService;
use TYPO3\CMS\Core\Utility\GeneralUtility;

Expand Down Expand Up @@ -61,7 +62,8 @@ public function __construct(
BrokenLinkRepository $brokenLinkRepository,
ContentRepository $contentRepository,
PagesRepository $pagesRepository,
protected ConnectionPool $connectionPool
protected ConnectionPool $connectionPool,
protected Typo3Version $typo3Version
) {
$this->getLanguageService()->includeLLFile('EXT:brofix/Resources/Private/Language/Module/locallang.xlf');
$this->brokenLinkRepository = $brokenLinkRepository;
Expand Down Expand Up @@ -742,7 +744,9 @@ protected function getSelectFields(string $table, array $selectFields = []): arr
}
if ($table === 'tt_content') {
$defaultFields[] = 'colPos';
$defaultFields[] = 'list_type';
if ($this->typo3Version->getMajorVersion() < 14) {
$defaultFields[] = 'list_type';
}
}
foreach ($selectFields as $field) {
// field must have TCA configuration
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@
},
"require": {
"php": "^8.2",
"typo3/cms-backend": "^13.4",
"typo3/cms-core": "^13.4",
"typo3/cms-fluid": "^13.4",
"typo3/cms-install": "^13.4"
"typo3/cms-backend": "^13.4 || ^14",
"typo3/cms-core": "^13.4 || ^14",
"typo3/cms-fluid": "^13.4 || ^14",
"typo3/cms-install": "^13.4 || ^14"
},
"require-dev": {
"bnf/phpstan-psr-container": "^1.1",
Expand Down
2 changes: 1 addition & 1 deletion ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
'version' => '7.0.1-dev',
'constraints' => [
'depends' => [
'typo3' => '13.4.0-13.4.99',
'typo3' => '13.4.0-14.4.99',
],
'conflicts' => [],
'suggests' => [
Expand Down
2 changes: 1 addition & 1 deletion rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
->withConfiguredRule(ExtEmConfRector::class, [
// TYPO3 v13: PHP 8.2
ExtEmConfRector::PHP_VERSION_CONSTRAINT => '8.2.0-8.4.99',
ExtEmConfRector::TYPO3_VERSION_CONSTRAINT => '13.4.0-13.4.99',
ExtEmConfRector::TYPO3_VERSION_CONSTRAINT => '13.4.0-14.4.99',
ExtEmConfRector::ADDITIONAL_VALUES_TO_BE_REMOVED => [],
])
// If you use withImportNames(), you should consider excluding some TYPO3 files.
Expand Down
Loading