Skip to content

Commit 93e29e0

Browse files
[Yaml] fix support for years outside of the 32b range on x86 arch on PHP 8.4
1 parent f01987f commit 93e29e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)