8000 [Yaml] fix support for years outside of the 32b range on x86 arch on … · symfony/symfony@c2f9a7c · GitHub
[go: up one dir, main page]

Skip to content 8000

Commit c2f9a7c

Browse files
[Yaml] fix support for years outside of the 32b range on x86 arch on PHP 8.4
1 parent 76060fa commit c2f9a7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Yaml/Inline.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -737,7 +737,7 @@ private static function evaluateScalar(string $scalar, int $flags, array &$refer
737737
if (false !== $scalar = $time->getTimestamp()) {
738738
return $scalar;
739739
}
740-
} catch (\ValueError) {
740+
} catch (\DateRangeError|\ValueError) {
741741
// no-op
742742
}
743743

0 commit comments

Comments
 (0)
0