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

Yoast / Yoast-SEO-for-TYPO3 / 24723291290

21 Apr 2026 12:50PM UTC coverage: 10.457% (+9.2%) from 1.275%
24723291290

push

github

web-flow
Merge pull request #632 from Yoast/feature/yoast-v12

[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

40 of 806 new or added lines in 69 files covered. (4.96%)

40 existing lines in 23 files now uncovered.

284 of 2716 relevant lines covered (10.46%)

0.29 hits per line

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

0.0
/Classes/Controller/OverviewController.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 YoastSeoForTypo3\YoastSeo\Service\Overview\LanguageMenu\LanguageMenuFactory;
17
use YoastSeoForTypo3\YoastSeo\Service\Overview\OverviewService;
18

19
class OverviewController extends AbstractBackendController
20
{
21
    public const REQUEST_ARGUMENT = 'tx_yoastseo_yoast_yoastseooverview';
22

23
    public function __construct(
24
        protected ModuleTemplateFactory $moduleTemplateFactory,
25
        protected readonly LanguageMenuFactory $languageMenuFactory,
26
        protected readonly OverviewService $overviewService,
27
    ) {
28
        parent::__construct($this->moduleTemplateFactory);
×
29
    }
30

31
    public function listAction(int $currentPage = 1): ResponseInterface
32
    {
NEW
33
        $overviewData = $this->overviewService->getOverviewData(
×
NEW
34
            $this->request,
×
NEW
35
            $currentPage,
×
NEW
36
            (int)$this->settings['itemsPerPage']
×
NEW
37
        );
×
UNCOV
38
        $moduleTemplate = $this->getModuleTemplate();
×
39

40
        $moduleTemplate->getDocHeaderComponent()->setMetaInformation($overviewData->getPageInformation());
×
41
        $languageMenu = $this->languageMenuFactory->create(
×
42
            $this->request,
×
43
            $moduleTemplate,
×
44
            (int)($overviewData->getPageInformation()['uid'] ?? 0)
×
45
        );
×
46
        if ($languageMenu !== null) {
×
47
            $moduleTemplate->getDocHeaderComponent()->getMenuRegistry()->addMenu($languageMenu);
×
48
        }
49

50
        return $this->returnResponse('Overview/List', $overviewData->toArray(), $moduleTemplate);
×
51
    }
52
}
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