Created alias to FlattenException to avoid BC break
This commit is contained in:
parent
bb74384236
commit
44b0e7d58c
@ -374,3 +374,18 @@ class FlattenException
|
||||
return rtrim($message);
|
||||
}
|
||||
}
|
||||
|
||||
namespace Symfony\Component\Debug\Exception;
|
||||
|
||||
if (!class_exists(FlattenException::class, false)) {
|
||||
class_alias(\Symfony\Component\ErrorRenderer\Exception\FlattenException::class, FlattenException::class);
|
||||
}
|
||||
|
||||
if (false) {
|
||||
/**
|
||||
* @deprecated since Symfony 4.4, use Symfony\Component\ErrorRenderer\Exception\FlattenException instead.
|
||||
*/
|
||||
class FlattenException extends \Symfony\Component\ErrorRenderer\Exception\FlattenException
|
||||
{
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user