Skip to content

Commit

Permalink
Merge pull request #8897 from scyzoryck/dbal-3-fix-connection-params
Browse files Browse the repository at this point in the history
Redeclare `$_attributes` property in `Configuration` class.
  • Loading branch information
greg0ire authored Aug 9, 2021
2 parents b600c01 + 355a4a1 commit f980682
Show file tree
Hide file tree
Showing 2 changed files with 4 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 = [];

/**
* Sets the directory where Doctrine generates any necessary proxy class files.
*
Expand Down
1 change: 1 addition & 0 deletions phpcs.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@

<rule ref="Squiz.NamingConventions.ValidVariableName.PublicHasUnderscore">
<exclude-pattern>lib/Doctrine/ORM/AbstractQuery.php</exclude-pattern>
<exclude-pattern>lib/Doctrine/ORM/Configuration.php</exclude-pattern>
<exclude-pattern>lib/Doctrine/ORM/EntityRepository.php</exclude-pattern>
<exclude-pattern>lib/Doctrine/ORM/Internal/Hydration/AbstractHydrator.php</exclude-pattern>
<exclude-pattern>lib/Doctrine/ORM/Query/Exec/AbstractSqlExecutor.php</exclude-pattern>
Expand Down

0 comments on commit f980682

Please sign in to comment.