10000 Merge branch '2.3' into 2.4 · symfony/symfony@2724903 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2724903

Browse files
committed
Merge branch '2.3' into 2.4
* 2.3: [Debug] fix #10313: FlattenException not found because of https://bugs.php.net/42098
2 parents f800ade + c18bf19 commit 2724903

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Symfony/Component/Debug/ErrorHandler.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,9 @@ function ($row) {
144144
if (!class_exists('Symfony\Component\Debug\Exception\ContextErrorException')) {
145145
require __DIR__.'/Exception/ContextErrorException.php';
146146
}
147+
if (!class_exists('Symfony\Component\Debug\Exception\FlattenException')) {
148+
require __DIR__.'/Exception/FlattenException.php';
149+
}
147150

148151
if (PHP_VERSION_ID < 50400 && isset($context['GLOBALS']) && is_array($context)) {
149152
unset($context['GLOBALS']);

0 commit comments

Comments
 (0)
0