8000 [DependencyInjection][ProxyManagerBridge] Added type-hints to LazyProxy classes and interfaces by derrabus · Pull Request #32283 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[DependencyInjection][ProxyManagerBridge] Added type-hints to LazyProxy classes and interfaces #32283

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

Conversation

derrabus
Copy link
Member
Q A
Branch? master
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #32179
License MIT
Doc PR N/A

This PR adds type-hints to the LazyProxy namespace of the DepenencyInjection component.

It also updates implementations of the LazyProxy interfaces inside the ProxyManager bridge. The consequence is that ProxyManagerBridge 5.0 won't work with DependencyInjection 4.4 anymore. If that is a problem, please tell me and I revert the ProxyManager part.

@derrabus derrabus force-pushed the improvement/type-hints-on-lazy-proxy branch from ad12093 to 211b718 Compare July 6, 2019 19:08
Copy link
Member
@nicolas-grekas nicolas-grekas left a comment

Choose a reason for hiding this comment

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

OK, let's go.

@fabpot
Copy link
Member
fabpot commented Jul 8, 2019

Thank you @derrabus.

@fabpot fabpot merged commit 211b718 into symfony:master Jul 8, 2019
fabpot added a commit that referenced this pull request Jul 8, 2019
…ts to LazyProxy classes and interfaces (derrabus)

This PR was merged into the 5.0-dev branch.

Discussion
----------

[DependencyInjection][ProxyManagerBridge] Added type-hints to LazyProxy classes and interfaces

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #32179
| License       | MIT
| Doc PR        | N/A

This PR adds type-hints to the LazyProxy namespace of the DepenencyInjection component.

It also updates implementations of the LazyProxy interfaces inside the ProxyManager bridge. The consequence is that ProxyManagerBridge 5.0 won't work with DependencyInjection 4.4 anymore. If that is a problem, please tell me and I revert the ProxyManager part.

Commits
-------

211b718 Added type-hints to LazyProxy classes and interfaces.
@derrabus derrabus deleted the improvement/type-hints-on-lazy-proxy branch July 8, 2019 09:56
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.

4 participants
0