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

PHPStan: process exited with error, see log for details #40

Closed
JorgeSivil opened this issue Sep 5, 2023 · 2 comments
Closed

PHPStan: process exited with error, see log for details #40

JorgeSivil opened this issue Sep 5, 2023 · 2 comments

Comments

@JorgeSivil
Copy link

JorgeSivil commented Sep 5, 2023

Hello! I'm having this error for all files I open

I work with a remote environment via SSH

[check:46] Check started for file:///home/jorgesivil/repos/classservice/test/Util/SymmetricJwtTest.php
[status-bar] Showing status bar
[check:46] Spawning PHPStan with the following configuration:  {"binCmd":"/home/jorgesivil/repos/classservice/vendor/bin/phpstan","args":["analyse","-c","/home/jorgesivil/repos/classservice/phpstan.neon","--error-format=raw","--no-interaction","--memory-limit=1G","--no-progress","/home/jorgesivil/repos/classservice/test/Util/SymmetricJwtTest.php","-a","/tmp/tmp-1998502-I7YAqQwbYcze/autoload.php","-c","/tmp/tmp-1998502-I7YAqQwbYcze/config.neon"]}
[file-manager] Not checking file "file:///home/jorgesivil/repos/classservice/test/Util/SymmetricJwtTest.php", file check is pending (checkId=46)
[check:46] PHPStan process exited with error  filteredErr=! [NOTE] The Xdebug PHP extension is active, but "--xdebug" is not used. This
!        may slow down performance and the process will not halt at
!        breakpoints.  rawErr=
 ! [NOTE] The Xdebug PHP extension is active, but "--xdebug" is not used. This  
 !        may slow down performance and the process will not halt at            
 !        breakpoints.                                                          

  data=
[status-bar] Hiding status bar, last operation result = Error
[check:46] Check completed for file:///home/jorgesivil/repos/classservice/test/Util/SymmetricJwtTest.php errors= {}
[file-manager] Not checking file "file:///home/jorgesivil/repos/classservice/test/Util/SymmetricJwtTest.php", file has already been checked (checkId=46)```
@SanderRonde
Copy link
Owner

Should be fixable with the same fix as this issue: #17. Can you check if that works?

@JorgeSivil
Copy link
Author

Thank you, I just figured it out the same way I guess, with the regex : .*[xdebug].*

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

No branches or pull requests

2 participants