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

[DI] Skip hot_path tag for deprecated services as their class might also be#25037

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:3.4fromnicolas-grekas:di-skip-deprec
Nov 20, 2017

Conversation

@nicolas-grekas
Copy link
Member

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

if ($valueinstanceof Reference && ContainerBuilder::IGNORE_ON_UNINITIALIZED_REFERENCE !==$value->getInvalidBehavior() &&$this->container->has($id = (string)$value)) {
$definition =$this->container->findDefinition($id);
if (!$definition->hasTag($this->tagName)) {
if (!$definition->hasTag($this->tagName) && !$value->isDeprecated()) {
Copy link
Contributor

Choose a reason for hiding this comment

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

- !$value->isDeprecated()+ !$definition->isDeprecated()

?

But I'm still getting the deprecation with the mentioned reproducer and these changes :/

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

should be good now

@nicolas-grekasnicolas-grekasforce-pushed thedi-skip-deprec branch 3 times, most recently from1c90d1b to6f134b5CompareNovember 19, 2017 22:03
@nicolas-grekasnicolas-grekas changed the base branch frommaster to3.4November 19, 2017 22:04
@fabpot
Copy link
Member

Thank you@nicolas-grekas.

@fabpotfabpot merged commit1775bba intosymfony:3.4Nov 20, 2017
fabpot added a commit that referenced this pull requestNov 20, 2017
…ass might also be (nicolas-grekas)This PR was merged into the 3.4 branch.Discussion----------[DI] Skip hot_path tag for deprecated services as their class might also be| Q             | A| ------------- | ---| Branch?       | 3.4| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#24959| License       | MIT| Doc PR        | -Commits-------1775bba [DI] Skip hot_path tag for deprecated services as their class might also be
@fabpotfabpot deleted the di-skip-deprec branchNovember 20, 2017 07:20
This was referencedNov 21, 2017
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot approved these changes

+1 more reviewer

@ogizanagiogizanagiogizanagi approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

3.4

Development

Successfully merging this pull request may close these issues.

4 participants

@nicolas-grekas@fabpot@ogizanagi@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp