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

Remplace getEntityManager by getObjectManager to remove deprecation message symfony 6.3 (#2664) #2665

Closed
wants to merge 1 commit into from

Conversation

yobrx
Copy link

@yobrx yobrx commented Aug 7, 2023

@phpremco
Copy link

phpremco commented Aug 7, 2023

Hi, thanks for the commit. The getEntity() also needs changed in the same way -> getObject(), see my other comment. I will have a look into how i can make commits in the future to help out, it feels a bit silly to wait while i have working code ready haha.

@yobrx
Copy link
Author

yobrx commented Aug 9, 2023

Hi, you're welcome !

This patch fixes a production application writing too many depreciation alerts to a file which is filling up my disk space :)

@yobrx
Copy link
Author

yobrx commented Aug 9, 2023

For testing, in composer.json :

{
   "repositories": [
        {
            "type": "git",
            "url": "https://github.com/yobrx/DoctrineExtensions.git"
        }
    ],
    "require": {
        "gedmo/doctrine-extensions": "dev-object_manager"
    }
}

@DubbleClick
Copy link
Contributor

This is missing much more than just that one instance. See #2639

@franmomu
Copy link
Collaborator

Closing here since #2639 was merged, thanks @yobrx!

@franmomu franmomu closed this Oct 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants