From 0b383eead0588134d2093bd01982722ddccb2ead Mon Sep 17 00:00:00 2001 From: Jeremy Herve Date: Wed, 15 Nov 2023 14:41:57 +0100 Subject: [PATCH] Update tests --- .../codesniffer/tests/php/tests/files/i18n.php.report | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/projects/packages/codesniffer/tests/php/tests/files/i18n.php.report b/projects/packages/codesniffer/tests/php/tests/files/i18n.php.report index 06d234ca856e7..db390251a1fa5 100644 --- a/projects/packages/codesniffer/tests/php/tests/files/i18n.php.report +++ b/projects/packages/codesniffer/tests/php/tests/files/i18n.php.report @@ -4,8 +4,10 @@ 22 | ERROR | [x] Missing domain arg. (Jetpack.Functions.I18n.MissingDomain) 25 | ERROR | [ ] Missing domain arg. (Jetpack.Functions.I18n.MissingDomain) 26 | ERROR | [ ] Domain is not a string literal. (Jetpack.Functions.I18n.DomainNotLiteral) - 29 | ERROR | [ ] The domain must not contain interpolated variables. Found $domain. (Jetpack.Functions.I18n.InterpolatedVariable) - 30 | ERROR | [ ] The domain must not contain interpolated variables. Found $domain. (Jetpack.Functions.I18n.InterpolatedVariable) + 29 | ERROR | [ ] The domain must not contain interpolated variables. Found $domain. + | | (Jetpack.Functions.I18n.InterpolatedVariable) + 30 | ERROR | [ ] The domain must not contain interpolated variables. Found $domain. + | | (Jetpack.Functions.I18n.InterpolatedVariable) 33 | ERROR | [x] Mismatched text domain. Expected 'domain' but got 'a $domain'. (Jetpack.Functions.I18n.TextDomainMismatch) 44 | ERROR | [x] Short array syntax is not allowed (Universal.Arrays.DisallowShortArraySyntax.Found) 45 | ERROR | [x] Short array syntax is not allowed (Universal.Arrays.DisallowShortArraySyntax.Found) @@ -20,4 +22,5 @@ 64 | ERROR | [x] Mismatched text domain. Expected 'domain' but got 'wrongdomain'. (Jetpack.Functions.I18n.TextDomainMismatch) 65 | ERROR | [x] Mismatched text domain. Expected 'domain' but got 'wrongdomain'. (Jetpack.Functions.I18n.TextDomainMismatch) 72 | ERROR | [x] Mismatched text domain. Expected 'domain' but got 'wrongdomain'. (Jetpack.Functions.I18n.TextDomainMismatch) - 77 | ERROR | [ ] The domain must not contain interpolated variables. Found $domain. (Jetpack.Functions.I18n.InterpolatedVariable) + 77 | ERROR | [ ] The domain must not contain interpolated variables. Found $domain. + | | (Jetpack.Functions.I18n.InterpolatedVariable)