Skip to content

Releases: stevegrunwell/wp-enforcer

Version 0.5.0

28 May 18:46
Compare
Choose a tag to compare
  • Allow any version of wp-coding-standards/wpcs, avoiding conflicts with packages that use older versions (#37).
  • Clarify placement of scripts within composer.json (#41).
  • Exclude phpcs.xml from being checked by PHP_CodeSniffer (#27).

Version 0.4.2

04 Jan 15:53
Compare
Choose a tag to compare
  • Don't lock wp-coding-standards/wpcs to a single version.
  • Remove the explicit package version in composer.json, add GitHub URLs.

v0.4.1

06 Jan 20:21
Compare
Choose a tag to compare
  • Apply a --diff-filter in the pre-commit hook to ensure PHP_CodeSniffer doesn't attempt to tokenize files that have been deleted (#29). Props @joeyblake.

v0.4.0

02 Dec 18:31
Compare
Choose a tag to compare
  • Restore explicit reference to vendor/bin (previously removed in #3) within the pre-commit Git hook (#11). Props @leewillis77.
  • Added --help and --version options to the wp-enforcer command for easier usage (and setting us up for more fun options in the future, #8). Props @daveross.
  • Fixed major bug wherein PHP_CodeSniffer was complaining about files not containing any code (#12).
  • Added a --vip option to the wp-enforcer command to use WordPress.com VIP coding standards (#7). Props @daveross.
  • Moved the Change Log out of the README and into CHANGELOG.md (#19).

v0.3.0

29 Nov 23:20
Compare
Choose a tag to compare
  • Remove explicit references to ./vendor/bin/, as Composer automatically prepends this directory to the user's path (#3). Props @johnpbloch, @bswatson.
  • Automatically create a .git/hooks directory if it doesn't already exist (#5).

v0.2.0

29 Nov 23:21
Compare
Choose a tag to compare
  • Restrict the Git hook to only changed files, not the entire codebase (#1).
  • Confirmed Windows Compatibility (as Git Bash ships with a version of Cygwin for all the Unix-y goodness needed). Props @ericmann (#2).

v0.1.0

29 Nov 23:21
Compare
Choose a tag to compare

Initial public release of WP Enforcer.