Commit 10b041a3 authored by Thomas Löffler's avatar Thomas Löffler

Restore some functionality removed by rector

parent a6940d61
Pipeline #9548 failed with stages
in 2 minutes and 41 seconds
......@@ -24,6 +24,7 @@ use TYPO3\CMS\Extbase\Persistence\ObjectStorage;
class Version extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity
{
const VERSION_IS_INSECURE = -1;
const VERSION_IS_OUTDATED = -2;
/**
* Title of the extension
......
......@@ -25,7 +25,7 @@ use TYPO3\CMS\Core\Utility\GeneralUtility;
*/
class CombinedExtensionRepository
{
protected object $documentationService;
protected ?DocumentationService $documentationService = null;
public function __construct(DocumentationService $documentationService = null)
{
......
......@@ -159,7 +159,7 @@ class LTSVersionService
public function getOldLTSVersions(): array
{
$oldLTSVersions = [];
$allLTSVersions = $this->getAllLTSVersions();
$allLTSVersions = $this->getAllLTSVersions(true);
foreach ($allLTSVersions as $version) {
if (!in_array($version, array_merge($this->getActiveVersions(), $this->getELTSVersions()), true)) {
$oldLTSVersions[] = $version;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment