Skip to content

Commit 736d051

Browse files
Merge branch '6.1' into 6.2
* 6.1: CS fixes Bump Symfony version to 6.1.3 Update VERSION for 6.1.2 Update CHANGELOG for 6.1.2 Bump Symfony version to 6.0.11 Update VERSION for 6.0.10 Update CHANGELOG for 6.0.10 Bump Symfony version to 5.4.11 Update VERSION for 5.4.10 Update CHANGELOG for 5.4.10 Bump Symfony version to 4.4.44 Update VERSION for 4.4.43 Update CONTRIBUTORS for 4.4.43 Update CHANGELOG for 4.4.43
2 parents bd1e4ac + aeb162b commit 736d051

26 files changed

+63
-63
lines changed

Constraints/BicValidator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public function validate(mixed $value, Constraint $constraint)
6868
return;
6969
}
7070

71-
if (!is_scalar($value) && !$value instanceof \Stringable) {
71+
if (!\is_scalar($value) && !$value instanceof \Stringable) {
7272
throw new UnexpectedValueException($value, 'string');
7373
}
7474

Constraints/CountryValidator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function validate(mixed $value, Constraint $constraint)
3737
return;
3838
}
3939

40-
if (!is_scalar($value) && !$value instanceof \Stringable) {
40+
if (!\is_scalar($value) && !$value instanceof \Stringable) {
4141
throw new UnexpectedValueException($value, 'string');
4242
}
4343

Constraints/CurrencyValidator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function validate(mixed $value, Constraint $constraint)
3838
return;
3939
}
4040

41-
if (!is_scalar($value) && !$value instanceof \Stringable) {
41+
if (!\is_scalar($value) && !$value instanceof \Stringable) {
4242
throw new UnexpectedValueException($value, 'string');
4343
}
4444

Constraints/DateTimeValidator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function validate(mixed $value, Constraint $constraint)
3434
return;
3535
}
3636

37-
if (!is_scalar($value) && !$value instanceof \Stringable) {
37+
if (!\is_scalar($value) && !$value instanceof \Stringable) {
3838
throw new UnexpectedValueException($value, 'string');
3939
}
4040

Constraints/DateValidator.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public function validate(mixed $value, Constraint $constraint)
4646
return;
4747
}
4848

49-
if (!is_scalar($value) && !$value instanceof \Stringable) {
49+
if (!\is_scalar($value) && !$value instanceof \Stringable) {
5050
throw new UnexpectedValueException($value, 'string');
5151
}
5252

@@ -62,9 +62,9 @@ public function validate(mixed $value, Constraint $constraint)
6262
}
6363

6464
if (!self::checkDate(
65-
$matches['year'] ?? $matches[1],
66-
$matches['month'] ?? $matches[2],
67-
$matches['day'] ?? $matches[3]
65+
$matches['year'] ?? $matches[1],
66+
$matches['month'] ?? $matches[2],
67+
$matches['day'] ?? $matches[3]
6868
)) {
6969
$this->context->buildViolation($constraint->message)
7070
->setParameter('{{ value }}', $this->formatValue($value))

Constraints/EmailValidator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public function validate(mixed $value, Constraint $constraint)
6060
return;
6161
}
6262

63-
if (!is_scalar($value) && !$value instanceof \Stringable) {
63+
if (!\is_scalar($value) && !$value instanceof \Stringable) {
6464
throw new UnexpectedValueException($value, 'string');
6565
}
6666

Constraints/FileValidator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ public function validate(mixed $value, Constraint $constraint)
116116
}
117117
}
118118

119-
if (!is_scalar($value) && !$value instanceof FileObject && !$value instanceof \Stringable) {
119+
if (!\is_scalar($value) && !$value instanceof FileObject && !$value instanceof \Stringable) {
120120
throw new UnexpectedValueException($value, 'string');
121121
}
122122

Constraints/HostnameValidator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function validate(mixed $value, Constraint $constraint)
4141
return;
4242
}
4343

44-
if (!is_scalar($value) && !$value instanceof \Stringable) {
44+
if (!\is_scalar($value) && !$value instanceof \Stringable) {
4545
throw new UnexpectedValueException($value, 'string');
4646
}
4747

Constraints/IbanValidator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ public function validate(mixed $value, Constraint $constraint)
150150
return;
151151
}
152152

153-
if (!is_scalar($value) && !$value instanceof \Stringable) {
153+
if (!\is_scalar($value) && !$value instanceof \Stringable) {
154154
throw new UnexpectedValueException($value, 'string');
155155
}
156156

Constraints/IpValidator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function validate(mixed $value, Constraint $constraint)
3737
return;
3838
}
3939

40-
if (!is_scalar($value) && !$value instanceof \Stringable) {
40+
if (!\is_scalar($value) && !$value instanceof \Stringable) {
4141
throw new UnexpectedValueException($value, 'string');
4242
}
4343

0 commit comments

Comments
 (0)