-
-
Notifications
You must be signed in to change notification settings - Fork 505
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
Make doctrine/annotations
dependency optional
#2498
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,6 @@ | |
"require": { | ||
"php": "^8.1", | ||
"ext-mongodb": "^1.11", | ||
"doctrine/annotations": "^1.12 || ^2.0", | ||
"doctrine/cache": "^1.11 || ^2.0", | ||
"doctrine/collections": "^1.5 || ^2.0", | ||
"doctrine/event-manager": "^1.0 || ^2.0", | ||
|
@@ -39,6 +38,7 @@ | |
}, | ||
"require-dev": { | ||
"ext-bcmath": "*", | ||
"doctrine/annotations": "^1.12 || ^2.0", | ||
"doctrine/coding-standard": "^12.0", | ||
"jmikola/geojson": "^1.0", | ||
"phpbench/phpbench": "^1.0.0", | ||
|
@@ -49,7 +49,11 @@ | |
"symfony/cache": "^5.4 || ^6.0 || ^7.0", | ||
"vimeo/psalm": "^5.9.0" | ||
}, | ||
"conflict": { | ||
"doctrine/annotations": "<1.12 || >=3.0" | ||
}, | ||
"suggest": { | ||
"doctrine/annotations": "For annotation mapping support", | ||
"ext-bcmath": "Decimal128 type support" | ||
}, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Having them in the suggestions can help if people read them and still need annotations. Older PHP versions still need them. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 👍 added |
||
"autoload": { | ||
|
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.
FTR conflicting here is IMO OK just because we control the lib and said it's feature complete. Otherwise I'd be against having a conflict section as one could use the lib we're conflicting with, but not use it with ODM.