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

FluidTYPO3 / vhs / 27842785131

19 Jun 2026 06:40PM UTC coverage: 70.695% (-0.005%) from 70.7%
27842785131

push

github

NamelessCoder
[TASK] Correct failing test expectations

5 of 7 new or added lines in 4 files covered. (71.43%)

215 existing lines in 10 files now uncovered.

5517 of 7804 relevant lines covered (70.69%)

14.92 hits per line

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

75.0
/Classes/ViewHelpers/Page/HeaderViewHelper.php
1
<?php
2
namespace FluidTYPO3\Vhs\ViewHelpers\Page;
3

4
/*
5
 * This file is part of the FluidTYPO3/Vhs project under GPLv2 or later.
6
 *
7
 * For the full copyright and license information, please read the
8
 * LICENSE.md file that was distributed with this source code.
9
 */
10

11
use FluidTYPO3\Vhs\Utility\ContextUtility;
12
use FluidTYPO3\Vhs\ViewHelpers\Asset\AbstractAssetViewHelper;
13
use TYPO3\CMS\Core\Page\PageRenderer;
14
use TYPO3\CMS\Core\Utility\GeneralUtility;
15

16
/**
17
 * ViewHelper used to place header blocks in document header
18
 */
19
class HeaderViewHelper extends AbstractAssetViewHelper
20
{
21
    public function render(): void
22
    {
23
        if (ContextUtility::isBackend()) {
7✔
UNCOV
24
            return;
×
25
        }
26

27
        /** @var PageRenderer $pageRenderer */
28
        $pageRenderer = GeneralUtility::makeInstance(PageRenderer::class);
7✔
29
        $pageRenderer->addHeaderData((string) $this->getContent());
7✔
30
    }
31
}
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