Closed driskell closed 1 year ago
Ah good find. Will fix this as soon as I get the chance. Thanks for the detailed report!
I'm having a bit of a hard time reproducing it but I'm pretty sure I've got a good fix for it. Could you try out the attached .vsix
file? Because github does not allow uploading of .vsix
files I've renamed it to .zip
. Just rename it and drop it into VSCode. Thanks!
phpstan-vscode-2.2.14.zip
I'll be publishing the fix (even though it's untested) because I'd rather potentially fix it than wait for a response. Please let me know if you get around to testing it again to verify that it worked.
When you trigger two checks quickly, for example by opening a file, entering a space (which seems to trigger an instance check) and then saving immediately (triggering another), it kills the first check, but then the new check also fails due to the output from Phpstan about the previous one failing.