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

heimrichhannot / contao-utils-bundle / 38530168142

14 Oct 2026 07:43AM UTC coverage: 83.881% (+4.1%) from 79.825%
38530168142

Pull #108

github

koertho
add createCondition method
Pull Request #108: add search vector field

360 of 373 new or added lines in 16 files covered. (96.51%)

1556 of 1855 relevant lines covered (83.88%)

8.58 hits per line

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

66.67
/src/SearchVector/LoadedLanguageFiles.php
1
<?php
2

3
namespace HeimrichHannot\UtilsBundle\SearchVector;
4

5
use Contao\System;
6

7
/**
8
 * Reads the names of the language files Contao has loaded so far, which Contao keeps in a protected property only.
9
 *
10
 * @internal
11
 */
12
abstract class LoadedLanguageFiles extends System
13
{
14
    /**
15
     * @return list<string> Empty if the Contao version does not track loaded language files
16
     */
17
    public static function getNames(): array
18
    {
19
        if (!\property_exists(System::class, 'arrLanguageFiles')) {
14 ✔
NEW
20
            return [];
×
21
        }
22

23
        return \array_map(strval(...), \array_keys(System::$arrLanguageFiles));
14 ✔
24
    }
25
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc