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

[DependencyInjection] only allowReflectionNamedType forServiceSubscriberTrait#43922

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
nicolas-grekas merged 1 commit intosymfony:4.4fromkbond:service-subscriber-fix2
Nov 4, 2021

Conversation

@kbond
Copy link
Member

QA
Branch?4.4
Bug fix?yes
New feature?no
Deprecations?no
TicketsFix#43913
LicenseMIT
Doc PRn/a

I'll follow this up with a PR on 5.4 to allow union/intersections when using theSubscribedService attribute (onceServiceSubscriberInterfacesupports this).

@derrabus
Copy link
Member

Can you provide a test that covers your change?

@kbond
Copy link
MemberAuthor

Test added. Regarding the failing CI: when I had this issue in#42238,this was how I solved - not sure what to do here...

@nicolas-grekas
Copy link
Member

The test case should be moved tosrc/Symfony/Contracts/Tests/Service/ServiceSubscriberTraitTest.php, that would prevent cross-packages issues.

@stof
Copy link
Member

stof commentedNov 4, 2021

@nicolas-grekas given that the test relies on the DI component, this would be wrong.

I think that the right fix is to bump the min version ofsymfony/service-contract (or whatever the exact package name is) in the requirement of the DI component.

@nicolas-grekas
Copy link
Member

The test should be updated to not rely on the DI component. There is no need for this dep.

@kbondkbondforce-pushed theservice-subscriber-fix2 branch from4844ddc tod5feef6CompareNovember 4, 2021 12:34
@kbond
Copy link
MemberAuthor

Ok, test has been moved.

@kbondkbondforce-pushed theservice-subscriber-fix2 branch fromd5feef6 tod9dcc35CompareNovember 4, 2021 12:39
@nicolas-grekas
Copy link
Member

Thank you@kbond.

@nicolas-grekasnicolas-grekas merged commit4f1c67a intosymfony:4.4Nov 4, 2021
@kbondkbond deleted the service-subscriber-fix2 branchNovember 4, 2021 13:35
@derrabus
Copy link
Member

@kbond I think I might have messed up the merging this change up to 5.4 and 6.0. Can you please have a look?

@kbond
Copy link
MemberAuthor

@derrabus, 5.4 just needs a test marked as legacy. 6.0 needs some work to re-remove the deprecation layer. Do you want me to open PR(s)?

@derrabus
Copy link
Member

derrabus commentedNov 4, 2021
edited
Loading

@derrabus Do you want me to open PR(s)?

That would be awesome. ❤️

derrabus added a commit that referenced this pull requestNov 4, 2021
This PR was merged into the 5.4 branch.Discussion----------[DependencyInjection] mark test as legacy| Q             | A| ------------- | ---| Branch?       | 5.4| Bug fix?      | no| New feature?  | no| Deprecations? | no| Tickets       | -| License       | MIT| Doc PR        | -Ref:#43922 (comment)`@derrabus`, once this makes it into 6.0 give me a ping and I'll open a PR to fix the 6.0 issues.Commits-------0b6cfcb [DependencyInjection] mark test as legacy
fabpot added a commit that referenced this pull requestNov 4, 2021
This PR was merged into the 6.0 branch.Discussion----------[DependencyInjection] clean up merge issue| Q             | A| ------------- | ---| Branch?       | 6.0| Bug fix?      | no| New feature?  | no| Deprecations? | no| Tickets       | -| License       | MIT| Doc PR        | -Cleans up merge issue from#43922.Commits-------ed30e4c [DependencyInjection] remove deprecation layer
This was referencedNov 22, 2021
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

4.4

Development

Successfully merging this pull request may close these issues.

5 participants

@kbond@derrabus@nicolas-grekas@stof@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp