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

Yoast / Yoast-SEO-for-TYPO3 / 21521134747

30 Jan 2026 03:30PM UTC coverage: 0.866% (-0.4%) from 1.275%
21521134747

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

0 of 550 new or added lines in 53 files covered. (0.0%)

33 existing lines in 21 files now uncovered.

23 of 2657 relevant lines covered (0.87%)

0.03 hits per line

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

0.0
/Classes/Service/Crawler/CrawlerJavascriptConfigService.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\Service\Crawler;
13

14
use TYPO3\CMS\Backend\Routing\UriBuilder;
15
use YoastSeoForTypo3\YoastSeo\Service\Javascript\JsonTranslationsService;
16
use YoastSeoForTypo3\YoastSeo\Service\LocaleService;
17
use YoastSeoForTypo3\YoastSeo\Utility\PathUtility;
18

19
class CrawlerJavascriptConfigService
20
{
21
    public function __construct(
22
        protected JsonTranslationsService $jsonConfigService,
23
        protected UriBuilder $uriBuilder,
24
        protected LocaleService $localeService
25
    ) {}
×
26

27
    /**
28
     * @return array<string, mixed>
29
     */
30
    public function getJavascriptConfig(): array
31
    {
NEW
32
        return [
×
33
            'urls' => [
×
34
                'workerUrl' => PathUtility::getPublicPathToResources() . '/JavaScript/dist/worker.js',
×
35
                'determinePages' => (string)$this->uriBuilder->buildUriFromRoute('ajax_yoast_crawler_determine_pages'),
×
36
                'indexPages' => (string)$this->uriBuilder->buildUriFromRoute('ajax_yoast_crawler_index_pages'),
×
37
                'prominentWords' => (string)$this->uriBuilder->buildUriFromRoute('ajax_yoast_prominent_words'),
×
38
            ],
×
39
            'translations' => [$this->localeService->getTranslations()],
×
40
            'supportedLanguages' => $this->localeService->getSupportedLanguages(),
×
NEW
41
        ];
×
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