• 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/Controller/CrawlerController.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\Controller;
13

14
use Psr\Http\Message\ResponseInterface;
15
use TYPO3\CMS\Backend\Template\ModuleTemplateFactory;
16
use TYPO3\CMS\Core\Page\JavaScriptModuleInstruction;
17
use TYPO3\CMS\Core\Page\PageRenderer;
18
use TYPO3\CMS\Core\Site\SiteFinder;
19
use YoastSeoForTypo3\YoastSeo\Service\Crawler\CrawlerJavascriptConfigService;
20
use YoastSeoForTypo3\YoastSeo\Service\Crawler\CrawlerService;
21
use YoastSeoForTypo3\YoastSeo\Service\Javascript\JsonTranslationsService;
22

23
class CrawlerController extends AbstractBackendController
24
{
25
    public function __construct(
26
        protected ModuleTemplateFactory $moduleTemplateFactory,
27
        protected readonly CrawlerService $crawlerService,
28
        protected readonly CrawlerJavascriptConfigService $crawlerJavascriptConfigService,
29
        protected readonly JsonTranslationsService $jsonTranslationsService,
30
        protected readonly SiteFinder $siteFinder,
31
        protected readonly PageRenderer $pageRenderer,
32
    ) {
33
        parent::__construct($this->moduleTemplateFactory);
×
34
    }
35

36
    public function indexAction(): ResponseInterface
37
    {
NEW
38
        $this->pageRenderer->getJavaScriptRenderer()->addJavaScriptModuleInstruction(
×
NEW
39
            JavaScriptModuleInstruction::create('@yoast/yoast-seo-for-typo3/crawler.js')->invoke(
×
NEW
40
                'initialize',
×
NEW
41
                $this->crawlerJavascriptConfigService->getJavascriptConfig()
×
NEW
42
            )
×
NEW
43
        );
×
NEW
44
        $this->jsonTranslationsService->addTranslations();
×
UNCOV
45
        return $this->returnResponse('Crawler/Index', ['sites' => $this->siteFinder->getAllSites()]);
×
46
    }
47

48
    public function resetProgressAction(int $site, int $language): ?ResponseInterface
49
    {
UNCOV
50
        $this->crawlerService->resetProgressInformation($site, $language);
×
UNCOV
51
        return $this->redirect('index');
×
52
    }
53
}
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