• 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/Utility/ConfigurationUtility.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\Utility;
13

14
use YoastSeoForTypo3\YoastSeo\Form\Element;
15
use YoastSeoForTypo3\YoastSeo\MetaTag\Generator;
16

17
class ConfigurationUtility
18
{
19
    /**
20
     * @return array<int, array<int, string>>
21
     */
22
    public static function getFormEngineNodes(): array
23
    {
24
        return [
×
25
            1514550050 => ['snippetPreview', Element\SnippetPreview::class],
×
26
            1514728465 => ['readabilityAnalysis', Element\ReadabilityAnalysis::class],
×
27
            1514830899 => ['focusKeywordAnalysis', Element\FocusKeywordAnalysis::class],
×
28
            1519937113 => ['insights', Element\Insights::class],
×
29
            1552342645 => ['cornerstone', Element\Cornerstone::class],
×
30
            1552511464 => ['internalLinkingSuggestion', Element\InternalLinkingSuggestion::class],
×
NEW
31
            1739390685 => ['facebookPreview', Element\FacebookPreview::class],
×
NEW
32
            1739390690 => ['twitterPreview', Element\TwitterPreview::class],
×
UNCOV
33
        ];
×
34
    }
35

36
    /**
37
     * @return array<string, mixed>
38
     */
39
    public static function getDefaultConfiguration(): array
40
    {
41
        return [
×
42
            'allowedDoktypes' => [
×
43
                'page' => 1,
×
44
                'backend_section' => 6,
×
45
            ],
×
46
            // Translations for the backend
47
            'translations' => [
×
48
                'availableLocales' => [
×
49
                    'ar',
×
50
                    'bg_BG',
×
51
                    'bs_BA',
×
52
                    'ca',
×
53
                    'ca_valencia',
×
54
                    'da_DK',
×
55
                    'de_AT',
×
56
                    'de_CH',
×
57
                    'de_DE',
×
58
                    'el',
×
59
                    'en_AU',
×
60
                    'en_CA',
×
61
                    'en_GB',
×
62
                    'en_NZ',
×
63
                    'en_ZA',
×
64
                    'es_AR',
×
65
                    'es_CL',
×
66
                    'es_CO',
×
67
                    'es_CR',
×
68
                    'es_EC',
×
69
                    'es_ES',
×
70
                    'es_MX',
×
71
                    'es_PE',
×
72
                    'es_VE',
×
73
                    'fa_IR',
×
74
                    'fi',
×
75
                    'fr_BE',
×
76
                    'fr_CA',
×
77
                    'fr_FR',
×
78
                    'fy',
×
79
                    'gl_ES',
×
NEW
80
                    'gu',
×
81
                    'he_IL',
×
82
                    'hi_IN',
×
83
                    'hr',
×
84
                    'hu_HU',
×
85
                    'id_ID',
×
86
                    'it_IT',
×
87
                    'ja',
×
88
                    'ko_KR',
×
89
                    'it_LT',
×
90
                    'nb_NO',
×
91
                    'nl_BE',
×
92
                    'nl_NL',
×
93
                    'pl_PL',
×
94
                    'pt_AO',
×
95
                    'pt_BR',
×
96
                    'pt_PT',
×
97
                    'ro_RO',
×
98
                    'ru_RU',
×
99
                    'sk_SK',
×
100
                    'sq',
×
101
                    'sr_RS',
×
102
                    'sv_SE',
×
103
                    'tr_TR',
×
104
                    'uk',
×
105
                    'vi',
×
106
                    'zh_CN',
×
107
                    'zh_HK',
×
108
                    'zh_TW',
×
109
                ],
×
110
                'languageKeyToLocaleMapping' => [
×
111
                    'bg' => 'bg_BG',
×
112
                    'cs' => 'cs_CZ',
×
113
                    'da' => 'da_DK',
×
114
                    'de' => 'de_DE',
×
115
                    'en' => 'en_GB',
×
116
                    'es' => 'es_ES',
×
117
                    'fa' => 'fa_IR',
×
118
                    'fr' => 'fr_FR',
×
119
                    'he' => 'he_IL',
×
120
                    'hu' => 'hu_HU',
×
121
                    'id' => 'id_ID',
×
122
                    'it' => 'it_IT',
×
123
                    'ko' => 'ko_KR',
×
124
                    'no' => 'nb_NO',
×
125
                    'nl' => 'nl_NL',
×
126
                    'pl' => 'pl_PL',
×
127
                    'pt' => 'pt_PT',
×
128
                    'ro' => 'ro_RO',
×
129
                    'ru' => 'ru_RU',
×
130
                    'sk' => 'sk_SK',
×
131
                    'sr' => 'sr_RS',
×
132
                    'sv' => 'sv_SE',
×
133
                    'tr' => 'tr_TR',
×
134
                    'zh' => 'zh_CN',
×
135
                ],
×
136
            ],
×
137
            // Supported languages for content analysis
138
            'supportedLanguages' => [
×
139
                'ar',
×
140
                'ca',
×
141
                'cs',
×
142
                'de',
×
143
                'el',
×
144
                'en',
×
145
                'es',
×
146
                'fa',
×
147
                'fr',
×
NEW
148
                'gu',
×
149
                'he',
×
150
                'hu',
×
151
                'id',
×
152
                'it',
×
153
                'ja',
×
154
                'nb',
×
155
                'nl',
×
156
                'pl',
×
157
                'pt',
×
158
                'ru',
×
159
                'sk',
×
160
                'sv',
×
161
                'tr',
×
162
            ],
×
163
            'previewSettings' => [
×
164
                'basicAuth' => [
×
165
                    'username' => '',
×
166
                    'password' => '',
×
167
                ],
×
168
            ],
×
169
            'recordMetaTags' => [
×
170
                'description' => Generator\DescriptionGenerator::class,
×
171
                'opengraph' => Generator\OpenGraphGenerator::class,
×
172
                'twitter' => Generator\TwitterGenerator::class,
×
173
            ],
×
174
        ];
×
175
    }
176
}
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