• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

TYPO3-Headless / headless / 25562644868

08 May 2026 02:57PM UTC coverage: 74.7%. Remained the same
25562644868

push

github

lukaszuznanski
[FEATURE] TYPO3 v14 compatibility (5.0.0-rc1)

Drops support for TYPO3 12/13. Bumps required PHP/TYPO3 versions,
removes deprecated PreviewController XClass, adds LanguageMenuProcessor
and assorted v14 adaptations across data processors, middlewares,
SEO, and tests.

38 of 58 new or added lines in 10 files covered. (65.52%)

63 existing lines in 6 files now uncovered.

1181 of 1581 relevant lines covered (74.7%)

6.63 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/Classes/ViewHelpers/DomainViewHelper.php
1
<?php
2

3
/*
4
 * This file is part of the "headless" Extension for TYPO3 CMS.
5
 *
6
 * For the full copyright and license information, please read the
7
 * LICENSE.md file that was distributed with this source code.
8
 */
9

10
declare(strict_types=1);
11

12
namespace FriendsOfTYPO3\Headless\ViewHelpers;
13

14
use FriendsOfTYPO3\Headless\Utility\HeadlessFrontendUrlInterface;
15
use TYPO3Fluid\Fluid\Core\ViewHelper\AbstractViewHelper;
16

17
class DomainViewHelper extends AbstractViewHelper
18
{
19
    public function __construct(private readonly HeadlessFrontendUrlInterface $urlUtility) {}
20

21
    public function initializeArguments(): void
22
    {
UNCOV
23
        $this->registerArgument('return', 'string', 'value from site configuration');
×
24
    }
25

26
    public function render(): mixed
27
    {
NEW
28
        $urlUtility = $this->urlUtility;
×
29

30
        if (isset($GLOBALS['TYPO3_REQUEST'])) {
×
31
            $urlUtility = $urlUtility->withRequest($GLOBALS['TYPO3_REQUEST']);
×
32
        }
33

NEW
34
        switch ($this->arguments['return']) {
×
35
            case 'frontendBase':
×
36
                return $urlUtility->getFrontendUrl();
×
UNCOV
37
            case 'proxyUrl':
×
UNCOV
38
                return $urlUtility->getProxyUrl();
×
39
            case 'storageProxyUrl':
×
UNCOV
40
                return $urlUtility->getStorageProxyUrl();
×
41
        }
42

NEW
43
        return null;
×
44
    }
45
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc