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

Skip to content

fix: don't define this class twice #388

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

Closed
wants to merge 1 commit into from

Conversation

sflx-matze
Copy link

In the detached Git-CI this class will be defined twice, for the PhpStan Check, if you are using the symfony package and the ObjectManager class for Doctrine parsing. This fix will define it only once.

In the detached Git-CI this class will be defined twice, for the PhpStan Check, if you are using the symfony package and the ObjectManager class for Doctrine parsing. This fix will define it only once.
@nicolas-grekas
Copy link
Member

When does this happen?
We fixed this in symfony/symfony#45258, isn't that enough?
I'd prefer not doing conditional definition unless we understand the reason.

@nicolas-grekas
Copy link
Member

Closing in the hope that symfony/symfony#45258 fixed the root of the issue.

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