All notable changes to the "PHP Sniffer" extension will be documented in this file.
1.3.0 - 2020-11-14
- Add new setting
disableWhenDebugging
to disablephpcs
when any debug session is active (#42) - Add option to disable validation (#38)
- Add setting for running on non-PHP files (#16)
- Reword ENOENT errors
- Avoid "write EPIPE" error (#35)
1.2.6 - 2020-06-07
- Fix error with unquoted spaces with
executablesFolder
in Windows
- Remove exit code from error messages
1.2.5 - 2020-05-06
- Fix deprecation error from bootstrap file (#29)
1.2.4 - 2020-02-21
- Fix document snippet formatting not working (Format selection, etc.)
1.2.3 - 2020-02-11
- Move sniff info in diagnostics
- Rework tab-indented diagnostic position fix to not use VSCode-configured
tab spacing (reverts to the behavior before
1.2.1
) - Set validator to use progress indicator
1.2.2 - 2020-02-07
- Fix erroneous diagnostic position with tab indent where column is 1
1.2.1 - 2020-02-06
- Bypass non-file documents
- Fix validation error character position with tab indentation
1.2.0 - 2020-01-31
- Add
phpSniffer.autoDetect
setting to auto-discover executables at[workspaceFolder]/vendor/bin
ifphpSniffer.executablesFolder
is unset. - Add status bar indicator when formatting
- Execution of
phpcbf
andphpcs
will always use the workspace folder for a given file (if it is in a workspace)phpSniffer.standard
andphpSniffer.executablesFolder
are now evaluated per file — relative paths are relative to the file's workspace folder.- Since there is a current working directory to work with, this change means PHP_CodeSniffer can detect common ruleset config files in a more expected way.
- Respect
<file>
tags in ruleset files phpSniffer.executablesFolder
no longer requires trailing slash- Change validating status bar indicator to use progress indicator
- Removed Windows-specific PHP process killing (use PHP_Codesniffer >= 3.4.2)
1.1.5 - 2019-07-04
- Add build status to README
- Add Visual Studio Marketplace badge to README
- Add tests
- Reduce extension footprint
- Pass stdin-path to phpcbf
1.1.4 - 2019-01-29
- Update CHANGELOG.md
- Ensure blank arguments are not passed
- Standardize quotes through to CLI execution
1.1.3 - 2019-01-29
- Fix double-quoting in cli execution in Linux
- Remove session filter on windows process search
1.1.2 - 2019-01-29
- Fix validator command regression
1.1.1 - 2019-01-29
- Add LICENSE
- Improve PHP CLI process killing on Windows
1.1.0 - 2019-01-12
- Add editorconfig
- Add identifying prefix for console logs
- Catch blank stdout
- Respect file-path configs
- Ensure output PHPCS args do not disrupt reporting
- Revert "Another attempt to fix memory leak with PHP CLI"
1.0.0 - 2019-01-08
-
- Allow path settings to resolve relatively
0.1.5 - 2018-12-27
- Another attempt to fix memory leak with PHP CLI
0.1.4 - 2018-12-17
- Log stderr
- Switch to exec function to add timeout
0.1.3 - 2018-12-13
- Attempt to kill process on error
0.1.2 - 2018-11-28
- Attempt to alleviate PHP process memory leak
0.1.1 - 2018-11-27
- Patch Event-Stream package vulnerability
0.1.0 - 2018-11-26
- Initial release