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

FluidTYPO3 / vhs / 28022755494

23 Jun 2026 11:25AM UTC coverage: 71.803% (+1.1%) from 70.695%
28022755494

Pull #1976

github

web-flow
Merge c3ae6c604 into 4208f11cc
Pull Request #1976: [REMOVAL] Remove asset feature

4 of 6 new or added lines in 2 files covered. (66.67%)

2 existing lines in 1 file now uncovered.

4953 of 6898 relevant lines covered (71.8%)

14.63 hits per line

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

0.0
/Classes/Utility/CoreUtility.php
1
<?php
2
namespace FluidTYPO3\Vhs\Utility;
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 TYPO3\CMS\Core\Core\Environment;
12
use TYPO3\CMS\Core\Utility\ExtensionManagementUtility;
13
use TYPO3\CMS\Core\Utility\VersionNumberUtility;
14

15
/**
16
 * Core Utility
17
 *
18
 * Utility to get core information.
19
 */
20
class CoreUtility
21
{
22
    public static function getLanguageFlagIconPath(): string
23
    {
24
        return ExtensionManagementUtility::extPath('core', 'Resources/Public/Icons/Flags/');
×
25
    }
26

27
    public static function getSitePath(): string
28
    {
UNCOV
29
        if (defined('PATH_site')) {
×
30
            return PATH_site;
×
31
        }
32
        /** @see https://docs.typo3.org/m/typo3/reference-coreapi/9.5/en-us/ApiOverview/GlobalValues/Constants/Index.html#path-site */
UNCOV
33
        return Environment::getPublicPath() . '/';
×
34
    }
35

36
    /**
37
     * Returns the current core minor version.
38
     */
39
    public static function getCurrentCoreVersion(): string
40
    {
41
        return VersionNumberUtility::getCurrentTypo3Version();
×
42
    }
43
}
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