Skip to content

Commit 9c96ea9

Browse files
committed
fix merge
1 parent 1fcc69b commit 9c96ea9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Validator/Tests/Constraints/CharsetValidatorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function testInvalidValues(string $value, array $encodings)
4040
{
4141
$this->validator->validate($value, new Charset(encodings: $encodings));
4242

43-
$this->buildViolation('The detected character encoding "{{ detected }}" is invalid. Allowed encodings are "{{ encodings }}".')
43+
$this->buildViolation('The detected character encoding is invalid ({{ detected }}). Allowed encodings are {{ encodings }}.')
4444
->setParameter('{{ detected }}', mb_detect_encoding($value, $encodings, true))
4545
->setParameter('{{ encodings }}', implode(', ', $encodings))
4646
->setCode(Charset::BAD_ENCODING_ERROR)

0 commit comments

Comments
 (0)