Skip to content

Conversation

@mbabker
Copy link
Contributor

@mbabker mbabker commented Oct 17, 2023

Q A
Bug fix? no
New feature? no
Doc updated no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets Partially #1516
License MIT

Another small test change that will help with the ORM 3.0 compat. Without its classes having the @Annotation annotation anymore in 3.0, there are a lot of Doctrine\Common\Annotations\AnnotationException: [Semantical Error] The class "Doctrine\ORM\Mapping\Entity" is not annotated with @Annotation. style exceptions being thrown. Changing the DoctrineDriverTest to have version conditional behavior and use an annotation or attribute driver as appropriate clears out some of those.

Merging #1471 will help address this in other places in the tests at a later point, but with the hard dependency still in place, those other test classes are not yet updated.

Copy link
Collaborator

@scyzoryck scyzoryck left a comment

Choose a reason for hiding this comment

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

Looks good for me! I will merge it on the beginning of the next week with other related PRs. :)

@scyzoryck scyzoryck merged commit dc484a3 into schmittjoh:master Oct 23, 2023
@mbabker mbabker deleted the test-doctrine-driver-with-attribute-driver branch October 23, 2023 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants