All notable changes to the "phpstan-vscode" extension will be documented in this file.
- Fix wrong title for extension configuration
- Force-kill processes that run too long, even if they outlast VSCode's runtime itself
- Log configuration on extension startup (helps in debugging)
- Always check current configuration when starting a new check
- Remove badges from README.md (VSCode marketplace did not allow them)
- Fix paths not mapping when scanning entire project. Thanks to raustin-m for the PR.
- Provide quick fix for ignoring errors (thanks to FrankySnow)
- Fix deprecated string iterpolation (thanks to priyadi)
- Don't do unnecessary checks on closing files
- Kill with SIGKILL if process does not respond to SIGINT
- Fix bug in TreeFetcher
- Kill PHPStan process with SIGINT instead of SIGKILL to allow for graceful shutdown
- Don't check files that end with
.git
(appears to be a VSCode quirk)
- List of to-ignore errors now takes regular expressions
- Add option for ignoring errors occuring during execution of PHPStan
- Use names that are less prone to collissions in code injected in PHPStan extension.
- Jump bump version
- Add option for enabling/disabling language server (can help with docker setups)
- Fix file path issues on windows
- Fix issue that would crash language server sometimes
- When language server crashes, clear all running operations (should fix infinitely loading statusbar)
- Fix bug that caused hover info to stop working when a file contained an array desturing inside a foreach loop
- Attempt to fix bug with status bar entry never disappearing
- Fix bug that caused status bar icon to disappear
- Add on-hover tooltip to status bar icon
- Support older PHP versions too (<= 7.3)
- Add PHPStan tag to errors in the
Problems
tab for easier filtering.
- Publish previous version of the extension to the stable channel.
- Fix bugs from broken release
- Fix bug where only the first symbol on a line would get hover information
- Improve logging
- Last release was broken, took it offline to investigate
- Allow scanning of entire project (thanks to edafonseca for the idea)
- Move error-managing to the LSP-client, allows for setting errors on unopened files
- Re-apply errors when files are closed and re-opened
- Show progress (on by default), can be turned off with
phpstan.showProgress
- Release LSP functionality to the stable channel
- Improve hover functionality
- Also works if a parameter with the same name as a variable is defined on one line
- Also works if a variable that starts with the same name is on the line (
$x
and$xyz
)
- Add
reload
command
- Remove completion-capability that wasn't actually being provided (leading to a popup)
- Add support for type-on-hover in
for
andforeach
loops
- Extension now provides a language server
- Add support for showing type on hover(!)
- Rewrite main phpstan-runner code
- Fix issue with some configurations throwing errors
- Add support for disabling config file
- Fix more windows issues
- Fix file path issues on windows
- Ensure the extension works in a docker container as well (thanks to Grldk)
- Never enable quote paths on non-windows operating systems
- Add some logging
- Only enable quote paths on windows
- Fix issue where paths with spaces were not being resolved correctly (thanks to Balkoth for opening this issue)
- Don't restart check when re-focusing file. Instead continue current check (unless file changed)
- Improve
.neon
file parsing - Don't crash when a single
.neon
value fails to parse - Fix extension not working when using workspace is running under Windows
- Fix extension not working when running VSCode on Windows.
- Show "PHPStan checking errorred" in statusbar if check failed instead of silently failing.
- Fix issue that occurred during bundling that somehow caused an error.
- Don't show timeout message every time an operation ends
- Always show error when timing out (thanks to ljubadr on github for the suggestion)
- Add option for turning off these errors
- Add logging panel under output
- Add release notes
- Automatically times out after some time
- Shows result of last operation in statusbar (relevant when killed because of timeout)
Initial release!