Skip to content

Commit 19b7b93

Browse files
[gha] swap the php versions we use in jobs
1 parent 9800a5b commit 19b7b93

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
@@ -41,7 +41,7 @@
4141
"egulias/email-validator": "^2.1.10|^3"
4242
},
4343
"conflict": {
44-
"doctrine/lexer": "<1.0.2",
44+
"doctrine/lexer": "<1.1",
4545
"phpunit/phpunit": "<4.8.35|<5.4.3,>=5.0",
4646
"symfony/dependency-injection": "<3.4",
4747
"symfony/http-kernel": "<4.4",

0 commit comments

Comments
 (0)