Skip to content
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

Add support for Doctrine ORM 3 #968

Merged
merged 1 commit into from
Jan 15, 2025
Merged

Add support for Doctrine ORM 3 #968

merged 1 commit into from
Jan 15, 2025

Conversation

loic425
Copy link
Member

@loic425 loic425 commented Jan 14, 2025

Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Related tickets
License MIT

I've also tested on Sylius with Symlink (using composer repositories option)

image

@loic425 loic425 force-pushed the orm-3 branch 3 times, most recently from 4933137 to d228a5c Compare January 14, 2025 10:41
@loic425 loic425 marked this pull request as draft January 14, 2025 10:41
@loic425 loic425 force-pushed the orm-3 branch 19 times, most recently from f5b9999 to 7249222 Compare January 14, 2025 14:16
@loic425 loic425 marked this pull request as ready for review January 14, 2025 14:16
@@ -40,6 +40,7 @@ parameters:
- %currentWorkingDirectory%/src/Component/vendor/*

ignoreErrors:
- '/Call to method type\(\) on an unknown class Doctrine\\ORM\\Mapping\\AssociationMapping./'
Copy link
Contributor

Choose a reason for hiding this comment

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

What about using phpstan-doctrine here?

composer require --dev phpstan/phpstan-doctrine

Copy link
Member Author

Choose a reason for hiding this comment

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

no, I don't think that's the solution.
This class does not exist on doctrine orm 2.

@GSadee GSadee added the Maintenance Configurations, READMEs, releases, etc. label Jan 15, 2025
@GSadee GSadee added the dependencies Pull requests that update a dependency file label Jan 15, 2025
@GSadee GSadee merged commit 7f99b30 into Sylius:1.13 Jan 15, 2025
13 checks passed
@GSadee
Copy link
Member

GSadee commented Jan 15, 2025

Thank you @loic425! 🎉

@loic425 loic425 deleted the orm-3 branch January 15, 2025 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file Maintenance Configurations, READMEs, releases, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants