Skip to content

Comments

feat: composer prefer-stable, doctrine/orm 3, doctrine/doctrine-bundle 3#353

Merged
bocharsky-bw merged 13 commits intoSymfonyCasts:mainfrom
Chris53897:feature/new-1
Dec 24, 2025
Merged

feat: composer prefer-stable, doctrine/orm 3, doctrine/doctrine-bundle 3#353
bocharsky-bw merged 13 commits intoSymfonyCasts:mainfrom
Chris53897:feature/new-1

Conversation

@Chris53897
Copy link
Contributor

dev allow doctrine/orm 3, doctrine/annotations 2 and doctrine/doctrine-bundle 3

dev allow doctrine/orm 3, doctrine/annotations 2 and doctrine/doctrine-bundle 3
Copy link
Member

@bocharsky-bw bocharsky-bw left a comment

Choose a reason for hiding this comment

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

Thank you for bumping it up. Could you check the failed tests, please? Looks related to the changes

@Chris53897
Copy link
Contributor Author

Yes, changes are related. The config need to be adjusted for v2 vs v3.
I will see that i can run the ci on my fork. Approve every ci run in wait will nag both of us ;)

@bocharsky-bw
Copy link
Member

Thanks! It would be easier :)

But if we know what exactly package causes it - we can revert that specific package and merge, then it will be easier to work on fixing tests for that specific package in another PR... And since you will have a merge at that time - the CI should be auto-allowed for you I think

dev allow doctrine/orm 3, doctrine/annotations 2 and doctrine/doctrine-bundle 3
dev allow doctrine/orm 3, doctrine/annotations 2 and doctrine/doctrine-bundle 3
dev allow doctrine/orm 3, doctrine/annotations 2 and doctrine/doctrine-bundle 3
dev allow doctrine/orm 3, doctrine/annotations 2 and doctrine/doctrine-bundle 3
dev allow doctrine/orm 3, doctrine/annotations 2 and doctrine/doctrine-bundle 3
dev allow doctrine/orm 3, doctrine/annotations 2 and doctrine/doctrine-bundle 3
dev allow doctrine/orm 3, doctrine/annotations 2 and doctrine/doctrine-bundle 3
dev allow doctrine/orm 3, doctrine/annotations 2 and doctrine/doctrine-bundle 3
dev allow doctrine/orm 3, doctrine/annotations 2 and doctrine/doctrine-bundle 3
dev allow doctrine/orm 3, doctrine/annotations 2 and doctrine/doctrine-bundle 3
@Chris53897 Chris53897 changed the title feat: composer prefer-stable feat: composer prefer-stable, doctrine/orm 3, doctrine/doctrine-bundle 3 Dec 24, 2025
@Chris53897
Copy link
Contributor Author

@bocharsky-bw ready to review. Could you pleae approve ci.
Ci should be green now like in https://github.com/Chris53897/reset-password-bundle/actions/runs/20482460226

composer.json Outdated
"symfony/phpunit-bridge": "^5.4 | ^6.0 | ^7.0 | ^8.0",
"doctrine/doctrine-bundle": "^2.8",
"doctrine/annotations": "^1.0",
"doctrine/doctrine-bundle": "^2.18 | ^3.0",
Copy link
Member

Choose a reason for hiding this comment

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

Any strong reasons to bump it to 2.18? That version requires Sf 6.4 while we're still excplicitly support 5.4 in composer.json.

Copy link
Member

Choose a reason for hiding this comment

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

Seems Sf 5.4 support was dropped since 2.14

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It was not my intention to drop support for Symfony 5.
Just bump it to make sure that the config report_fields_where_declared is available.
I changed it now to 2.13

Maybe i need to adjust the config.

Copy link
Member

@bocharsky-bw bocharsky-bw left a comment

Choose a reason for hiding this comment

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

By allowing v2.13 I think we should be good with legacy support.

Thank you!

@bocharsky-bw bocharsky-bw merged commit 8c9b6ac into SymfonyCasts:main Dec 24, 2025
10 checks passed
@Chris53897 Chris53897 deleted the feature/new-1 branch December 25, 2025 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants