Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Symfony/Bridge/Doctrine/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"symfony/proxy-manager-bridge": "<4.4.19",
"symfony/security-bundle": "<5",
"symfony/security-core": "<5.3",
"symfony/validator": "<5.4.25|>=6,<6.2.12|>=6.3,<6.3.1"
Copy link
Copy Markdown
Contributor Author

@alexander-schranz alexander-schranz Sep 11, 2023

Choose a reason for hiding this comment

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

Not sure if it would better to add a conflict to symfony/validator 7.0 as adding a conflict after a release in this case (5.4 and 6.3) will composer maybe just install a old version of the doctrine-bridge e.g. (5.4.28 or 6.3.4) without that conflict and then still run into the same error 🤔.

But it feels strange to add a conflict to symfony/validator as it has not even a optional dependency to the bridge.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think we should add this conflict rule here (where it is legitimate), but we should also add it in validator 7.0 to avoid the issue of installing validator 7.0 and an outdated doctrine-bridge.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

That would work I think. @nicolas-grekas what do you think about that?

"symfony/validator": "<5.4.25|>=6,<6.2.12|>=6.3,<6.3.1,>=7.0"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
"symfony/validator": "<5.4.25|>=6,<6.2.12|>=6.3,<6.3.1,>=7.0"
"symfony/validator": "<5.4.25|>=6,<6.2.12|>=6.3,<6.3.1|>=7.0"

},
"suggest": {
"symfony/form": "",
Expand Down