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
fix: clickable editorUrl #1663
fix: clickable editorUrl #1663
Conversation
This is wrong syntax for symfony/console: https://symfony.com/blog/new-in-symfony-4-3-console-hyperlinks What's the foundation behind your change? |
Thanks for the link. Maybe the missing " will already fix the linked issue? Or removing the first " |
That's up to you to test :) |
I will try. If i run the UnitTest for the particular method it works. But with |
This is the reason of the failing in terminals that do not support the links. This pseudo code would be correct in my eyes if there is a possibility to detect if the actual terminal supports links.
But i do not know if it is possible to detect this. We have a tradeoff here. With the latest version of this PR, ...
|
There's now editorUrlTitle config option which you can use to fix the clickability: https://phpstan.org/user-guide/output-format#opening-file-in-an-editor |
phpstan/phpstan#7796
Tests are now green.
But i am not sure how to test in correct in real App.