Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
Create a hyperlink to interfaces/classes that can be autowired#30469
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
Create a hyperlink to interfaces/classes that can be autowired#30469
Uh oh!
There was an error while loading.Please reload this page.
Conversation
nicolas-grekas left a comment• 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.
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, I was hoping PRs on the topics, you're one of the first! There are many more places like this where linking could be nice :)
src/Symfony/Bundle/FrameworkBundle/Command/DebugAutowiringCommand.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Bundle/FrameworkBundle/Command/DebugAutowiringCommand.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
SerkanYildiz commentedMar 7, 2019 • 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.
Thanks for your review. I still have the problem with that the service alias is getting linked too. Do you know where I should look at? edit: might be a problem of zsh (I think it assumes that cache.app is a url) |
src/Symfony/Bundle/FrameworkBundle/Command/DebugAutowiringCommand.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Bundle/FrameworkBundle/Command/DebugAutowiringCommand.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
SerkanYildiz commentedMar 12, 2019
Status: Needs Review |
javiereguiluz left a comment
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.
Nice feature! Thank you Serkan.
nicolas-grekas commentedMar 15, 2019
Thank you@SerkanYildiz. |
…utowired (SerkanYildiz)This PR was squashed before being merged into the 4.3-dev branch (closes#30469).Discussion----------Create a hyperlink to interfaces/classes that can be autowired| Q | A| ------------- | ---| Branch? | master| Bug fix? | no| New feature? | yes| BC breaks? | no| Deprecations? | no| Tests pass? | yes| License | MITAdded hyperlink to definition of interfaces/classes that can be used for autowiring.But I need help with:- the aliases are becoming hyperlinks too, but shouldn't.It's outputting `<fg=yellow;href=phpstorm://open?file=filepath&line=17>Symfony\Contracts\Translation\TranslatorInterface</> <fg=cyan>(translator.default)</>`- it currently works with phpstorm because it's hardcoded but it should work with framework.ide option, but don't know what the best approach is to support that config option.Commits-------a3dfcee Create a hyperlink to interfaces/classes that can be autowired
Added hyperlink to definition of interfaces/classes that can be used for autowiring.
But I need help with:
the aliases are becoming hyperlinks too, but shouldn't.
It's outputting
<fg=yellow;href=phpstorm://open?file=filepath&line=17>Symfony\Contracts\Translation\TranslatorInterface</> <fg=cyan>(translator.default)</>it currently works with phpstorm because it's hardcoded but it should work with framework.ide option, but don't know what the best approach is to support that config option.