PHPunit fixes for PHP 7.4

This commit is contained in:
Clemens Schwaighofer
2022-04-25 17:01:28 +09:00
parent 388b90913a
commit 6c3c1a908d
15 changed files with 29 additions and 21 deletions

View File

@@ -207,7 +207,7 @@ final class CoreLibsLanguageL10nTest extends TestCase
string $domain_expected,
?string $context,
string $original,
string $translated,
string $translated
): void {
if ($locale === null) {
$l10n = new \CoreLibs\Language\L10n();
@@ -385,7 +385,7 @@ final class CoreLibsLanguageL10nTest extends TestCase
string $locale_expected_b,
string $locale_set_expected_b,
string $domain_expected_b,
string $translated_b,
string $translated_b
): void {
if ($locale === null) {
$l10n = new \CoreLibs\Language\L10n();
@@ -763,7 +763,7 @@ final class CoreLibsLanguageL10nTest extends TestCase
string $type,
string $var,
string $value,
string $expected,
string $expected
): void {
switch ($type) {
case 'global':