Skip to content

Commit

Permalink
Redeclare $_attributes property in Configuration class that has b…
Browse files Browse the repository at this point in the history
…een removed in doctrine/dbal:3.x

To keep backward compatibility we need to redeclare this property to keep using it.
Partially fixes doctrine#8884
  • Loading branch information
scyzoryck committed Aug 8, 2021
1 parent e09f126 commit 4991658
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/Doctrine/ORM/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down

0 comments on commit 4991658

Please sign in to comment.