From 49916587b421f8e307be3cc8a3221f3f024b1eba Mon Sep 17 00:00:00 2001 From: scyzoryck Date: Sun, 8 Aug 2021 10:14:34 +0200 Subject: [PATCH] Redeclare `$_attributes` property in `Configuration` class that has been removed in doctrine/dbal:3.x To keep backward compatibility we need to redeclare this property to keep using it. Partially fixes #8884 --- lib/Doctrine/ORM/Configuration.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/Doctrine/ORM/Configuration.php b/lib/Doctrine/ORM/Configuration.php index b5b09e5b785..0551e194975 100644 --- a/lib/Doctrine/ORM/Configuration.php +++ b/lib/Doctrine/ORM/Configuration.php @@ -54,6 +54,11 @@ */ class Configuration extends \Doctrine\DBAL\Configuration { + /** + * @var array + */ + protected $_attributes = []; + /** * Sets the directory where Doctrine generates any necessary proxy class files. *