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

FluidTYPO3 / flux / 17904759627

15 Sep 2025 08:47AM UTC coverage: 90.676% (-2.1%) from 92.767%
17904759627

push

github

NamelessCoder
[TASK] Set beta stability

6924 of 7636 relevant lines covered (90.68%)

9.49 hits per line

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

28.57
/Classes/Proxy/TemplatePathsProxy.php
1
<?php
2
namespace FluidTYPO3\Flux\Proxy;
3

4
/*
5
 * This file is part of the FluidTYPO3/Flux 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 TYPO3\CMS\Core\Utility\VersionNumberUtility;
12
use TYPO3Fluid\Fluid\View\TemplatePaths;
13

14
/**
15
 * Hooray for totally unnecessary breaking changes.
16
 */
17
class TemplatePathsProxy
18
{
19
    public static function toArray(TemplatePaths $templatePaths): array
20
    {
21
        if (version_compare(VersionNumberUtility::getCurrentTypo3Version(), '13.4', '>=')) {
3✔
22
            return [
×
23
                TemplatePaths::CONFIG_TEMPLATEROOTPATHS => $templatePaths->getTemplateRootPaths(),
×
24
                TemplatePaths::CONFIG_PARTIALROOTPATHS => $templatePaths->getPartialRootPaths(),
×
25
                TemplatePaths::CONFIG_LAYOUTROOTPATHS => $templatePaths->getLayoutRootPaths(),
×
26
            ];
×
27
        }
28
        return $templatePaths->toArray();
3✔
29
    }
30
}
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