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

[FrameworkBundle] remove translation data collector when not usable#21637

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

Merged
fabpot merged 1 commit intosymfony:2.7fromxabbuh:issue-17957
Feb 17, 2017

Conversation

@xabbuh
Copy link
Member

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


$translatorClass = $container->findDefinition('translator')->getClass();

if (!is_subclass_of($translatorClass, '\Symfony\Component\Translation\TranslatorBagInterface')) {
Copy link
Member

Choose a reason for hiding this comment

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

The leading\ can be removed I think.

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

done

@xabbuhxabbuhforce-pushed theissue-17957 branch 2 times, most recently from36f54fa to303bb73CompareFebruary 16, 2017 22:20
@fabpot
Copy link
Member

Thank you@xabbuh.

@fabpotfabpot merged commit303bb73 intosymfony:2.7Feb 17, 2017
fabpot added a commit that referenced this pull requestFeb 17, 2017
…ot usable (xabbuh)This PR was merged into the 2.7 branch.Discussion----------[FrameworkBundle] remove translation data collector when not usable| Q             | A| ------------- | ---| Branch?       | 2.7| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#17957| License       | MIT| Doc PR        |Commits-------303bb73 remove translation data collector when not usable
@xabbuhxabbuh deleted the issue-17957 branchFebruary 17, 2017 16:32
return;
}

$translatorClass = $container->findDefinition('translator')->getClass();
Copy link
Member

Choose a reason for hiding this comment

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

you need to resolve the value, as the class may use a parameter

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

fabpot added a commit that referenced this pull requestFeb 20, 2017
…es (xabbuh)This PR was merged into the 2.7 branch.Discussion----------[FrameworkBundle] resolve parameters in definition classes| Q             | A| ------------- | ---| Branch?       | 2.7| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#21637 (comment)| License       | MIT| Doc PR        |Commits-------37ce682 resolve parameters in definition classes
symfony-splitter pushed a commit to symfony/framework-bundle that referenced this pull requestFeb 20, 2017
…es (xabbuh)This PR was merged into the 2.7 branch.Discussion----------[FrameworkBundle] resolve parameters in definition classes| Q             | A| ------------- | ---| Branch?       | 2.7| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |symfony/symfony#21637 (comment)| License       | MIT| Doc PR        |Commits-------37ce682947 resolve parameters in definition classes
This was referencedMar 6, 2017
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot left review comments

@stofstofstof left review comments

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@xabbuh@fabpot@stof@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp