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

FluidTYPO3 / vhs / 28022997566

23 Jun 2026 11:30AM UTC coverage: 71.402% (+0.7%) from 70.695%
28022997566

push

github

NamelessCoder
[REMOVAL] Remove asset feature

Use any other method - for example, all supported versions of
TYPO3 contain the AssetCollector feature.

6 of 8 new or added lines in 2 files covered. (75.0%)

30 existing lines in 2 files now uncovered.

4926 of 6899 relevant lines covered (71.4%)

14.6 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