Skip to content

Commit 569c18a

Browse files
Merge branch '5.3' into 5.4
* 5.3: [gha] swap the php versions we use in jobs [DoctrineBridge] fix calling get_class on non-object Update PR template [HttpClient] Fix handling error info in MockResponse
2 parents 68db340 + 3b19d70 commit 569c18a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Tests/ConstraintValidatorTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,15 @@
1515
use Symfony\Component\Validator\Constraint;
1616
use Symfony\Component\Validator\ConstraintValidator;
1717

18-
final class ConstraintValidatorTest extends TestCase
18+
class ConstraintValidatorTest extends TestCase
1919
{
2020
/**
2121
* @dataProvider formatValueProvider
2222
*/
2323
public function testFormatValue($expected, $value, $format = 0)
2424
{
25+
\Locale::setDefault('en');
26+
2527
$this->assertSame($expected, (new TestFormatValueConstraintValidator())->formatValueProxy($value, $format));
2628
}
2729

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"conflict": {
4848
"doctrine/annotations": "<1.13",
4949
"doctrine/cache": "<1.11",
50-
"doctrine/lexer": "<1.0.2",
50+
"doctrine/lexer": "<1.1",
5151
"phpunit/phpunit": "<5.4.3",
5252
"symfony/dependency-injection": "<4.4",
5353
"symfony/expression-language": "<5.1",

0 commit comments

Comments
 (0)