8000 bug #60648 [Yaml] fix support for years outside of the 32b range on x… · symfony/symfony@91964c1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 91964c1

Browse files
bug #60648 [Yaml] fix support for years outside of the 32b range on x86 arch on PHP 8.4 (nicolas-grekas)
This PR was merged into the 6.4 branch. Discussion ---------- [Yaml] fix support for years outside of the 32b range on x86 arch on PHP 8.4 | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Issues | - | License | MIT Similar to #41394 but for PHP 8.4 Commits ------- c2f9a7c [Yaml] fix support for years outside of the 32b range on x86 arch on PHP 8.4
2 parents 76060fa + c2f9a7c commit 91964c1

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