Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[DoctrineBridge][Routing] Require PSR-11 container instead of Symfony container#21978

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
enumag wants to merge2 commits intosymfony:masterfromenumag:psr-11

Conversation

@enumag
Copy link
Contributor

@enumagenumag commentedMar 11, 2017
edited
Loading

QA
Branch?master
Bug fix?no
New feature?yes
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets
LicenseMIT
Doc PR

The changed classes can easily use PSR-11 container instead of normal symfony container.

I didn't change any classes that have the$container property as protected (for exampleSymfony\Bundle\FrameworkBundle\Translation\Translator) because I'm unsure whether that would be considered a BC break. Let me know if you want me to change such classes as well.

@nicolas-grekas
Copy link
Member

To me, it should be ok to change even when a protected property is involved: existing code won't break all of a sudden because of the less restrictive type hint. In any doubt, just to it in another PR to have this one merged earlier is this needs to be discussed.

@enumag
Copy link
ContributorAuthor

Alright, will do it in separate PR.

Also I didn't bother with deprecated classes like ContainerAwareEventDispatcher.

Copy link
Contributor

@GuilhemNGuilhemN left a comment
edited
Loading

Choose a reason for hiding this comment

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

👍 but the Routing component is no longer compatible with the DependencyInjection component <3.3 so it's requirements/conflicts should be updating.

@enumag
Copy link
ContributorAuthor

@GuilhemN Like this?

Copy link
Contributor

@GuilhemNGuilhemN left a comment

Choose a reason for hiding this comment

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

Yes, that's it :+1;

@fabpot
Copy link
Member

Thank you@enumag.

fabpot added a commit that referenced this pull requestMar 14, 2017
… instead of Symfony container (enumag)This PR was merged into the 3.3-dev branch.Discussion----------[FrameworkBundle][TwigBundle] Require PSR-11 container instead of Symfony container| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | no| New feature?  | yes| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets || License       | MIT| Doc PR        |As discussed in#21978 here is the second PR.Commits-------857ce7c [FrameworkBundle][TwigBundle] Require PSR-11 container instead of Symfony container
@fabpotfabpot mentioned this pull requestMay 1, 2017
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

1 more reviewer

@GuilhemNGuilhemNGuilhemN approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

5 participants

@enumag@nicolas-grekas@fabpot@GuilhemN@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp