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 afbf18c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/Doctrine/ORM/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@
*/
class Configuration extends \Doctrine\DBAL\Configuration
{
/** @var mixed[] */
protected $_attributes = []; /** @codingStandardsIgnoreLine */

/**
* Sets the directory where Doctrine generates any necessary proxy class files.
*
Expand Down

0 comments on commit afbf18c

Please sign in to comment.