Skip to content

Latest commit

 

History

History
172 lines (136 loc) · 5.38 KB

CHANGELOG.md

File metadata and controls

172 lines (136 loc) · 5.38 KB

Change Log

All notable changes to the "PHP Sniffer" extension will be documented in this file.

1.3.0 - 2020-11-14

Added

  • Add new setting disableWhenDebugging to disable phpcs when any debug session is active (#42)
  • Add option to disable validation (#38)
  • Add setting for running on non-PHP files (#16)

Changed

  • Reword ENOENT errors

Fixed

  • Avoid "write EPIPE" error (#35)

1.2.6 - 2020-06-07

Fixed

  • Fix error with unquoted spaces with executablesFolder in Windows

Removed

  • Remove exit code from error messages

1.2.5 - 2020-05-06

Fixed

  • Fix deprecation error from bootstrap file (#29)

1.2.4 - 2020-02-21

Fixed

  • Fix document snippet formatting not working (Format selection, etc.)

1.2.3 - 2020-02-11

Changed

  • 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

Fixed

  • Fix erroneous diagnostic position with tab indent where column is 1

1.2.1 - 2020-02-06

Changed

  • Bypass non-file documents

Fixed

  • Fix validation error character position with tab indentation

1.2.0 - 2020-01-31

Added

  • Add phpSniffer.autoDetect setting to auto-discover executables at [workspaceFolder]/vendor/bin if phpSniffer.executablesFolder is unset.
  • Add status bar indicator when formatting

Changed

  • Execution of phpcbf and phpcs will always use the workspace folder for a given file (if it is in a workspace)
    • phpSniffer.standard and phpSniffer.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

  • Removed Windows-specific PHP process killing (use PHP_Codesniffer >= 3.4.2)

1.1.5 - 2019-07-04

Added

  • Add build status to README
  • Add Visual Studio Marketplace badge to README
  • Add tests

Changed

  • Reduce extension footprint

Fixed

  • Pass stdin-path to phpcbf

1.1.4 - 2019-01-29

Changed

  • Update CHANGELOG.md

Fixed

  • Ensure blank arguments are not passed
  • Standardize quotes through to CLI execution

1.1.3 - 2019-01-29

Fixed

  • Fix double-quoting in cli execution in Linux

Removed

  • Remove session filter on windows process search

1.1.2 - 2019-01-29

Fixed

  • Fix validator command regression

1.1.1 - 2019-01-29

Added

  • Add LICENSE

Changed

  • Improve PHP CLI process killing on Windows

1.1.0 - 2019-01-12

Added

  • Add editorconfig
  • Add identifying prefix for console logs

Changed

  • Catch blank stdout
  • Respect file-path configs

Fixed

  • Ensure output PHPCS args do not disrupt reporting
  • Revert "Another attempt to fix memory leak with PHP CLI"

1.0.0 - 2019-01-08

Changed

    • Allow path settings to resolve relatively

0.1.5 - 2018-12-27

Fixed

  • Another attempt to fix memory leak with PHP CLI

0.1.4 - 2018-12-17

Changed

  • Log stderr
  • Switch to exec function to add timeout

0.1.3 - 2018-12-13

Fixed

  • Attempt to kill process on error

0.1.2 - 2018-11-28

Fixed

  • Attempt to alleviate PHP process memory leak

0.1.1 - 2018-11-27

Security

  • Patch Event-Stream package vulnerability

0.1.0 - 2018-11-26

  • Initial release