Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.6k
[Contracts] FixServiceMethodsSubscriberTrait
for nullable service#60267
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
[Contracts] FixServiceMethodsSubscriberTrait
for nullable service#60267
Conversation
1a9c3a2
to7d7e4a0
Comparedb4b606
to562600f
Compare562600f
toe67db9a
Compare#60268 should be merged first and upmerged to 7.2, so that this PR can then be only about the new things for 7.2 |
ServiceMethodsSubscriberTrait
for nullable serviceServiceMethodsSubscriberTrait
for nullable serviceStevenRenaux commentedApr 25, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
@StevenRenaux I'm not saying this PR is useless. This PR should be updated after the upmerge (which will happen anyway) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Thank you@StevenRenaux. |
070869c
intosymfony:7.2Uh oh!
There was an error while loading.Please reload this page.
Used in a bundle context.
If you use the following example, you will get an exception:
ServiceNotFoundException: The service "twig" in the container provided to "App\Service\Dependency" has a dependency on a non-existent service "Twig\Environment".
The
nullable
argument of theSubscribedService
attribute is ignored.Related to#60265