-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Run tests with MongoDB ODM using native laxy objects, fix other deprecations #3003
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
| static::assertStringStartsWith('Proxy', get_class($test)); | ||
|
|
||
| /** @phpstan-ignore-next-line function.alreadyNarrowedType */ | ||
| if (method_exists($this->dm, 'isUninitializedObject')) { |
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.
This doesn't exist in the lowest supported ODM version
| // Ignore unfixable deprecations | ||
| Deprecation::ignoreDeprecations( | ||
| 'https://github.com/doctrine-extensions/DoctrineExtensions/pull/2772', // Ignore annotations deprecations from self | ||
| ); |
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.
This is useful if you're running with <env name="DOCTRINE_DEPRECATIONS" value="trigger"/> in a custom phpunit.xml to see more of the triggered deprecations
| "doctrine/common": "^2.13 || ^3.0", | ||
| "doctrine/dbal": "^3.7 || ^4.0", | ||
| "doctrine/doctrine-bundle": "^2.3", | ||
| "doctrine/doctrine-bundle": "^2.3 || ^3.0", |
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.
Allows testing with the new major (nothing changed here for this package anyway)
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3003 +/- ##
==========================================
+ Coverage 78.56% 78.74% +0.17%
==========================================
Files 169 169
Lines 8803 8689 -114
==========================================
- Hits 6916 6842 -74
+ Misses 1887 1847 -40 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
As advertised