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

heimrichhannot / contao-utils-bundle / 38542847508

14 Oct 2026 09:30AM UTC coverage: 84.066% (+4.2%) from 79.825%
38542847508

Pull #108

github

koertho
address review comments on resolver and tokenizer

- Look up stemmer and normalizer in explicit methods that check the service
  against its interface, instead of a generic helper
- Transliterate letters without a decomposition into base letter and accent
  (æ, ø, œ, ð, þ, ł, đ, ı), accented letters were already folded

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pull Request #108: add search vector field

392 of 407 new or added lines in 16 files covered. (96.31%)

1588 of 1889 relevant lines covered (84.07%)

8.98 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')) {
15 ✔
NEW
20
            return [];
×
21
        }
22

23
        return \array_map(strval(...), \array_keys(System::$arrLanguageFiles));
15 ✔
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