Skip to content

Commit 3b19d70

Browse files
Merge branch '4.4' into 5.3
* 4.4: [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 f3eeb40 + 19b7b93 commit 3b19d70

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
@@ -45,7 +45,7 @@
4545
"egulias/email-validator": "^2.1.10|^3"
4646
},
4747
"conflict": {
48-
"doctrine/lexer": "<1.0.2",
48+
"doctrine/lexer": "<1.1",
4949
"phpunit/phpunit": "<5.4.3",
5050
"symfony/dependency-injection": "<4.4",
5151
"symfony/expression-language": "<5.1",

0 commit comments

Comments
 (0)