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

Skip to content

Commit 49bc4f1

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

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
@@ -165,6 +165,9 @@ function ($row) {
165165

166166
return true;
167167
}
168+
if (!class_exists('Symfony\Component\Debug\Exception\FlattenException')) {
169+
require __DIR__.'/Exception/FlattenException.php';
170+
}
168171

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

0 commit comments

Comments
 (0)
0