-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[FrameworkBundle] show public/private for aliases in debug:container command #27551
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FrameworkBundle] show public/private for aliases in debug:container command #27551
Conversation
I like this, small but useful! I noticed your screenshots mention "an public/private alias", but it's already fixed in your code (in case people notice this). |
Thank you 😄
Yes, thats what I mean by |
CI is failing due to some console width issue, can you update the tests to force a specific width? (there are other places doing so, can't recall right now) |
Features are for master. The console width is forced there so rebasing and regenerating the fixture should make tests green. |
Indeed, you are right, but I talked to @nicolas-grekas and we think it could be also merged as patch. |
New features are for master only. |
ok I will rebase my branch 👍 |
TBH I could not get the tests running, due to whitespaces, line endings or something else. |
Can anybody help me finishing this PR? I can give access to my fork too ofc |
Tests fixed. |
Thank you @OskarStark. |
…ebug:container command (OskarStark) This PR was merged into the 4.2-dev branch. Discussion ---------- [FrameworkBundle] show public/private for aliases in debug:container command | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | yes <!-- don't forget to update src/**/CHANGELOG.md files --> | BC breaks? | no <!-- see https://symfony.com/bc --> | Deprecations? | no <!-- don't forget to update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tests pass? | yes <!-- please add some, will be required by reviewers --> | Fixed tickets | <!-- #-prefixed issue number(s), if any --> | License | MIT | Doc PR | not needed <!-- required for new features --> It could be helpful to see the public/private status for aliases in `debug:container` command. Otherwise you need to dive into the code to get the information, because the result only shows the options of the aliased service. ## Look & Feel for public alias  _text has slightly changed_ ## Look & Feel for private alias  _text has slightly changed_ //cc @nicolas-grekas Commits ------- 1df7742 [FrameworkBundle] show public/private for aliases in debug:container command
It could be helpful to see the public/private status for aliases in
debug:container
command.Otherwise you need to dive into the code to get the information, because the result only shows the options of the aliased service.
Look & Feel for public alias
text has slightly changed
Look & Feel for private alias
text has slightly changed
//cc @nicolas-grekas