Skip to content

Conversation

@beberlei
Copy link
Member

Fixes #9380

ezkimo
ezkimo previously approved these changes Jan 14, 2022
Copy link

@ezkimo ezkimo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works out pretty well. Thank you.

@derrabus
Copy link
Member

Alternatively, you could add a call to the parent constructor to this class' constructor.

@beberlei beberlei merged commit 3d00fa8 into doctrine:2.11.x Jan 15, 2022
@beberlei beberlei deleted the GH-9380-EnumAttributes branch January 15, 2022 23:07
@beberlei beberlei added this to the 2.11.1 milestone Jan 16, 2022
derrabus added a commit to derrabus/orm that referenced this pull request Jan 17, 2022
* 2.12.x:
  Allow using Enum from different namespace than Entity (doctrine#9384)
  Corrected ORM version and added missing dependency (doctrine#9386)
  PHPStan 1.4.0 (doctrine#9385)
  [doctrineGH-9380] Bugfix: Delegate ReflectionEnumProperty::getAttributes(). (doctrine#9381)
  Support enum cases as parameters (doctrine#9373)
  Add detach as of list cascade-all operations (doctrine#9357)
@derrabus derrabus added the Bug label Jan 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ReflectionEnumProperty throws error on AttributeReader::getPropertyAnnotations()

4 participants