Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix incorrect annotation name #24

Merged
merged 1 commit into from
Jan 27, 2023

Conversation

VasekPurchart
Copy link
Member

@VasekPurchart VasekPurchart commented Jan 27, 2023

When the dependency is doctrine/orm: ^2.6.3 then highest depdenencies builds are failing, but lowest dependencies are okay: https://github.com/consistence/consistence-doctrine/actions/runs/4026729820

With doctrine/orm: 2.14 (locked) everything is failing: https://github.com/consistence/consistence-doctrine/actions/runs/4026706740 .

With doctrine/orm: 2.13.5 (locked) everything is OK: https://github.com/consistence/consistence-doctrine/actions/runs/4026766351 .

Based on that I have isolated the break to doctrine/orm#10321 , which was introduced in 2.14. If I update my local vendor on 2.14 with reverted changes from this PR, then everything starts working again.

The fact, that it was not working only for @Doctrine\ORM\Mapping\MappedSuperClass, but for everything else it did, led me to guessing that this is an autoloading issue and indeed it was.

@VasekPurchart VasekPurchart marked this pull request as draft January 27, 2023 17:20
@VasekPurchart VasekPurchart force-pushed the fix-doctrine-annotations-loading branch from 2fd8ecf to 496d2e0 Compare January 27, 2023 17:42
@VasekPurchart VasekPurchart changed the title WIP - Investigate/fix doctrine annotations not loading Fix incorrect annotation name Jan 27, 2023
@VasekPurchart VasekPurchart marked this pull request as ready for review January 27, 2023 17:45
@VasekPurchart VasekPurchart merged commit 496d2e0 into master Jan 27, 2023
@VasekPurchart VasekPurchart deleted the fix-doctrine-annotations-loading branch January 27, 2023 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant