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

fix: replace classutils with doctrine/orm version #1747

Conversation

Ahummeling
Copy link

Closes #1745

As discussed in #1746

composer.json Outdated
@@ -32,6 +32,7 @@
"php": "^7.4 || ^8.0",
"doctrine/cache": "^1.11 || ^2.0",
"doctrine/dbal": "^3.7.0 || ^4.0",
"doctrine/orm": "^2.17 || ^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.

I don't think you should move this dependency here. When $this->container->getParameter('doctrine.orm.auto_generate_proxy_classes') is true, then it must mean doctrine/orm is installed, right?

Copy link
Author

Choose a reason for hiding this comment

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

Oh, ofcourse, you're entirely correct. Moving this change back to require-dev, I do still think the version should be bumped, to avoid installing a version of ORM without the new class

@Ahummeling Ahummeling force-pushed the fix/replace-classutils-with-default-proxy-name-resolver branch from 051ab26 to e5782b3 Compare January 25, 2024 08:01
composer.json Show resolved Hide resolved
@Ahummeling Ahummeling force-pushed the fix/replace-classutils-with-default-proxy-name-resolver branch from e5782b3 to b5dee45 Compare January 25, 2024 09:33
@Ahummeling Ahummeling requested a review from stof January 25, 2024 09:34
@dmaicher dmaicher added this to the 2.11.2 milestone Jan 25, 2024
@dmaicher dmaicher added the Bug label Jan 25, 2024
@ostrolucky ostrolucky merged commit 8a6ccdf into doctrine:2.11.x Jan 25, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing doctrine/common in composer.json
5 participants