-
Notifications
You must be signed in to change notification settings - Fork 33
test: fix orm report_fields_where_declared #405
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
base: main
Are you sure you want to change the base?
Conversation
WalkthroughReplaces unconditional insertion of Changes
Sequence Diagram(s)sequenceDiagram
autonumber
participant Kernel
participant Runtime as "PHP runtime (class_exists)"
participant Config as "Doctrine ORM config"
Note over Kernel,Runtime: Kernel prepares Doctrine ORM config during test bootstrap
Kernel->>Runtime: class_exists('Doctrine\\Common\\Annotations\\AnnotationReader')?
alt AnnotationReader exists
Kernel-->>Config: prepend report_fields_where_declared: true
Note right of Config: Flag applied (Doctrine 2.x compatibility path)
else AnnotationReader missing
Kernel-->>Config: do not set report_fields_where_declared
Note right of Config: YAML files no longer include the flag
end
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes
Possibly related PRs
Suggested reviewers
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #405 +/- ##
=========================================
Coverage 88.38% 88.38%
Complexity 1 1
=========================================
Files 20 20
Lines 878 878
=========================================
Hits 776 776
Misses 102 102 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
a try to fix the ci
Update: in conflict with https://github.com/meilisearch/meilisearch-symfony/pull/400/files#diff-78e2fc2f8d5a200028050f0fd3c14c23db81669e7816ad567c98aaa7a1044371R55
Summary by CodeRabbit