• 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/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',
×
NEW
87
                    'it_LT',
×
88
                    'ja',
×
89
                    'ko_KR',
×
NEW
90
                    'lo',
×
91
                    'nb_NO',
×
92
                    'nl_BE',
×
93
                    'nl_NL',
×
94
                    'pl_PL',
×
95
                    'pt_AO',
×
96
                    'pt_BR',
×
97
                    'pt_PT',
×
98
                    'ro_RO',
×
99
                    'ru_RU',
×
100
                    'sk_SK',
×
101
                    'sq',
×
102
                    'sr_RS',
×
103
                    'sv_SE',
×
104
                    'tr_TR',
×
105
                    'uk',
×
106
                    'vi',
×
107
                    'zh_CN',
×
108
                    'zh_HK',
×
109
                    'zh_TW',
×
110
                ],
×
111
                'languageKeyToLocaleMapping' => [
×
112
                    'bg' => 'bg_BG',
×
113
                    'cs' => 'cs_CZ',
×
114
                    'da' => 'da_DK',
×
115
                    'de' => 'de_DE',
×
116
                    'en' => 'en_GB',
×
117
                    'es' => 'es_ES',
×
118
                    'fa' => 'fa_IR',
×
119
                    'fr' => 'fr_FR',
×
120
                    'he' => 'he_IL',
×
121
                    'hu' => 'hu_HU',
×
122
                    'id' => 'id_ID',
×
123
                    'it' => 'it_IT',
×
124
                    'ko' => 'ko_KR',
×
125
                    'no' => 'nb_NO',
×
126
                    'nl' => 'nl_NL',
×
127
                    'pl' => 'pl_PL',
×
128
                    'pt' => 'pt_PT',
×
129
                    'ro' => 'ro_RO',
×
130
                    'ru' => 'ru_RU',
×
131
                    'sk' => 'sk_SK',
×
132
                    'sr' => 'sr_RS',
×
133
                    'sv' => 'sv_SE',
×
134
                    'tr' => 'tr_TR',
×
135
                    'zh' => 'zh_CN',
×
136
                ],
×
137
            ],
×
138
            // Supported languages for content analysis
139
            'supportedLanguages' => [
×
140
                'ar',
×
141
                'ca',
×
142
                'cs',
×
143
                'de',
×
144
                'el',
×
145
                'en',
×
146
                'es',
×
147
                'fa',
×
148
                'fr',
×
NEW
149
                'gu',
×
150
                'he',
×
151
                'hu',
×
152
                'id',
×
153
                'it',
×
154
                'ja',
×
155
                'nb',
×
156
                'nl',
×
157
                'pl',
×
158
                'pt',
×
159
                'ru',
×
160
                'sk',
×
161
                'sv',
×
162
                'tr',
×
163
            ],
×
164
            'previewSettings' => [
×
165
                'basicAuth' => [
×
166
                    'username' => '',
×
167
                    'password' => '',
×
168
                ],
×
169
            ],
×
170
            'recordMetaTags' => [
×
171
                'description' => Generator\DescriptionGenerator::class,
×
172
                'opengraph' => Generator\OpenGraphGenerator::class,
×
173
                'twitter' => Generator\TwitterGenerator::class,
×
174
            ],
×
175
        ];
×
176
    }
177
}
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