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

Skip to content

[ProxyManagerBridge] Deprecate the package #48484

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

Merged
merged 1 commit into from
Dec 7, 2022

Conversation

nicolas-grekas
Copy link
Member

Q A
Branch? 6.3
Bug fix? no
New feature? yes
Deprecations? no
Tickets -
License MIT
Doc PR -

The bridge is not needed anymore, we provide lazy services out of the box since 6.2.

@fabpot
Copy link
Member

fabpot commented Dec 6, 2022

Can you have a look at the tests? fabbot is telling you something as well, not sure what.

@nicolas-grekas
Copy link
Member Author

Tests fixed (failures unrelated, they will be fixed once merged up + let's skip fabbot on this one.)

@fabpot
Copy link
Member

fabpot commented Dec 7, 2022

Thank you @nicolas-grekas.

@fabpot fabpot merged commit 6dc7330 into symfony:6.3 Dec 7, 2022
@nicolas-grekas nicolas-grekas deleted the pm-deprec branch December 8, 2022 11:09
@fabpot fabpot mentioned this pull request May 1, 2023
fabpot added a commit that referenced this pull request Jun 9, 2023
This PR was merged into the 7.0 branch.

Discussion
----------

[ProxyManagerBridge] Drop the bridge

| Q             | A
| ------------- | ---
| Branch?       | 7.0
| Bug fix?      | no
| New feature?  | yes
| Deprecations? | no
| Tickets       | -
| License       | MIT
| Doc PR        | -

As planned in #48484

Commits
-------

b484e4b [ProxyManagerBridge] Drop the bridge
xabbuh added a commit that referenced this pull request Jun 21, 2024
This PR was merged into the 5.4 branch.

Discussion
----------

[DoctrineBridge] Test reset with a true manager

| Q             | A
| ------------- | ---
| Branch?       | 5.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Issues        | N/A
| License       | MIT

Now that [assertions were added to the `AbstractManagerRegistry`](doctrine/persistence#375), the `ManagerRegistryTest` must register instances of `ObjectManager` to avoid tests failing with
```
assert(): assert($service instanceof ObjectManager) failed
```

Changes mostly come from #48484 but the ProxyManager is still used on 5.4, so beware when merging this in 6.4.

Commits
-------

79b03db [DoctrineBridge] Test reset with a true manager
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.

3 participants