Skip to content

Releases: sirbrillig/phpcs-changed

2.2.7-beta-2

14 Nov 18:05
Compare
Choose a tag to compare
2.2.7-beta-2 Pre-release
Pre-release

Changelog

  • Add --stdin-path argument to phpcs command (#14)

2.2.7-beta-1

29 Oct 16:29
Compare
Choose a tag to compare
2.2.7-beta-1 Pre-release
Pre-release

Changelog

  • Downgrades required PHP version to 7.1 (#13)

v2.2.6

07 Aug 20:00
Compare
Choose a tag to compare

Changelog

This release just makes sure that reporters have full control of what is printed, even in the case of files which have no changes. So using --report json --svn will still output JSON even on a file that has no changes. This can be very important for scripts that use the output of phpcs-changed.

It also adds static analysis (with phpstan) to the CI, to help catch any subtle bugs.

  • Treat unchanged files as normal (#11)
  • Add phpstan (#12)

v2.2.3

05 Aug 20:49
Compare
Choose a tag to compare

Changelog

v2.2.2

04 Aug 00:26
Compare
Choose a tag to compare

Changelog

  • Handle empty vcs files (#6)

(2.2.1 is the same bug I forgot to bump the version string so this fixes that issue)

v2.2.0

25 Jun 14:29
Compare
Choose a tag to compare

Changelog

  • Add git workflow (#4)

v2.2.0-beta.1

12 Jun 16:17
30cfcaa
Compare
Choose a tag to compare
v2.2.0-beta.1 Pre-release
Pre-release
Add git workflow (#4)

* Add git workflow to README

* Add runGitWorkflow to executable

* Add ShellException

* Add exitWithCode and printError to ShellOperator

* Add exitWithCode and printError to UnixShell

* Always return a string from executeCommand

* Use ShellOperator printError and exitWithCode

* Add git option to cli docs

* Use ShellException in SvnWorkflow

* Add untracked/unmodified tests to SvnWorkflowTest

* Add GitWorkflow

* Add runGitWorkflow

v2.1.0

28 Feb 23:23
f8f124a
Compare
Choose a tag to compare

Changelog

This is mostly a refactor of some of the existing svn workflow to give it test coverage, but it does add a --version option to the CLI so now you can see what version of phpcs-changed is being run.

v2.0.1

04 Jan 18:45
Compare
Choose a tag to compare

Changelog

  • Support new files in svn mode (#1)

v2.0

27 Nov 05:33
Compare
Choose a tag to compare

Changelog

  • Added new getNewPhpcsMessagesFromFiles() top-level function which provides a more clean abstraction over the library's internals.
  • Added --report option to allow json and phpcs "full" reporting (default is now full, to match phpcs).
  • json report now prints output even if there are no messages (full report does not).
  • Output now includes the filename, if available from the diff.