Skip to content
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

TableErrorFormatter: allow editor url title configuration #2035

merged 1 commit into from Dec 1, 2022


Copy link

@janedbal janedbal commented Nov 29, 2022

This allows me to have easily-copyable file+line even in GitLab CI even in docker and clickable locally.

    editorUrl: 'phpstorm://open?file=%%relFile%%&line=%%line%%'
    editorUrlTitle: '%%file%%:%%line%%'
$ php bin/phpstan analyse --debug src/Parallel/ParallelAnalyser.php
Using php 8.1 from dockerhub
Note: Using configuration file /usr/src/myapp/phpstan.neon.
 ------ ------------------------------------------------------------ 
  Line   ParallelAnalyser.php                                        
 ------ ------------------------------------------------------------ 
  195    Anonymous function has an unused use $internalErrorsCount.  
         ✏️  src/Parallel/ParallelAnalyser.php:195                   
 ------ ------------------------------------------------------------

Related: phpstan/phpstan#7796

@ondrejmirtes ondrejmirtes merged commit 6bde609 into phpstan:1.9.x Dec 1, 2022
374 of 377 checks passed
Copy link

Thank you! Please also send an update to the docs with an explanation why one might want to change this. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

Successfully merging this pull request may close these issues.

None yet

2 participants