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

Yoast / Yoast-SEO-for-TYPO3 / 21916594510

11 Feb 2026 05:54PM UTC coverage: 10.09% (+8.8%) from 1.275%
21916594510

push

github

RinyVT
[FEATURE] Version 12.0.0, added v14 support, removed v11 support including php8.0 and php8.1, rewrote backend javascript functionality to typescript and webcomponents

28 of 550 new or added lines in 53 files covered. (5.09%)

33 existing lines in 21 files now uncovered.

268 of 2656 relevant lines covered (10.09%)

0.27 hits per line

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

0.0
/Classes/PageParser/TitleConfigurationParser.php
1
<?php
2

3
/**
4
 * This file is part of the "yoast_seo" extension for TYPO3 CMS.
5
 *
6
 * For the full copyright and license information, please read the
7
 * LICENSE.txt file that was distributed with this source code.
8
 */
9

10
declare(strict_types=1);
11

12
namespace YoastSeoForTypo3\YoastSeo\PageParser;
13

14
use MaxServ\FrontendRequest\Dto\RequestContext;
15
use MaxServ\FrontendRequest\PageParser\ParserInterface;
16

17
readonly class TitleConfigurationParser implements ParserInterface
18
{
19
    public function getIdentifier(): string
20
    {
NEW
21
        return 'titleConfiguration';
×
22
    }
23

24
    /**
25
     * @return array<string, string>
26
     */
27
    public function parse(string $html, RequestContext $context): array
28
    {
NEW
29
        $prepend = $append = '';
×
NEW
30
        preg_match('/<meta name=\"x-yoast-title-config\" value=\"([^"]*)\"/i', $html, $matchesTitleConfig);
×
NEW
31
        if (count($matchesTitleConfig) > 1) {
×
NEW
32
            [$prepend, $append] = explode('|||', (string)$matchesTitleConfig[1]);
×
33
        }
NEW
34
        return [
×
NEW
35
            'prepend' => $prepend,
×
NEW
36
            'append' => $append,
×
NEW
37
        ];
×
38
    }
39
}
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