bug #34070 [ErrorRenderer] FlattenException cannot be final (nicolas-grekas)

This PR was merged into the 4.4 branch.

Discussion
----------

[ErrorRenderer] FlattenException cannot be final

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | -
| License       | MIT
| Doc PR        | -

Making it final forces tight coupling with the implementation as soon as one type-hints for the class.

That's a blocker on making e.g. `EasyAdminBundle` compatible with Symfony 5.

Commits
-------

b125835056 [ErrorRenderer] FlattenException cannot be final
This commit is contained in:
Fabien Potencier 2019-10-22 17:21:28 +02:00
commit eaaabb6011

View File

@ -24,7 +24,7 @@ use Symfony\Component\HttpKernel\Exception\HttpExceptionInterface;
*
* @author Fabien Potencier <fabien@symfony.com>
*/
final class FlattenException extends LegacyFlattenException
class FlattenException extends LegacyFlattenException
{
private $title;
private $message;