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
editorUrl not working in terminals that do not support links. since phpstan >= 1.4.7 #7796
Comments
This bug report is missing a link to reproduction at phpstan.org/try. It will most likely be closed after manual review. |
The line |
The build in functions from PhpStorm 2022.2. should be zsh |
It's not working for me too. |
@ThomasLandauer zsh on mac m1 too or which OS and terminal do you use? |
KDE's "Konsole" on kubuntu. |
Please try to pin down in which PHPStan release it last worked. |
It' broken since 1.4.7. 1.4.6:
1.4.7:
editorUrl: 'phpstorm://open?file=%%file%%&line=%%line%%' |
I can confirm this. And i noticed that it works with 1.4.6 in zsh with cmd+ double-click but not in PhpStorm itself. |
If i run
|
With phpstan/phpstan-src#2035 and PHPStan 1.9.3 you'll be able to use Please, if you manage to fix it, tell us how exactly you did that, so we can mention it in the documentation #8446 Thanks! |
The PR did not fix this, but see #8519 for a general solution to all |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Bug report
Hi. Does somebody has the same problem or can confirm that it works?
PHP 8.1
Code snippet that reproduces the problem
env COLUMNS=200 phpstan analyse src tests -c phpstan.neon --level=6 --no-progress --memory-limit=2048M
#5013 (comment)
I copied the Line from the Website
editorUrl: 'phpstorm://open?file=%%file%%&line=%%line%%'
Actual output (in phpStorm)
Line src/Controller/Foo.php
24 Negated boolean expression is always false.
✏️ src/Controller/Foo.php
Expected output
Line src/Controller/Foo.php
24 Negated boolean expression is always false.
✏️ phpstorm://open?file=src/Controller/Foo.php&line=24
Did PHPStan help you today? Did it make you happy in any way?
Not Today. But totally in general. Thank you
The text was updated successfully, but these errors were encountered: