-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
131 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
vendor | ||
vendor | ||
phpcs.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# Change Log | ||
|
||
All notable changes to this project will be documented in this file. | ||
This project adheres to [Semantic Versioning](http://semver.org/). | ||
|
||
## [0.4.0] - 2015-12-02 | ||
|
||
* 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]). | ||
|
||
|
||
## [0.3.0] - 2015-11-29 | ||
|
||
* 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]). | ||
|
||
|
||
## [0.2.0] - 2015-11-27 | ||
|
||
* 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]). | ||
|
||
|
||
## 0.1.0 - 2015-11-22 | ||
|
||
* Initial public release. | ||
|
||
[0.4.0]: https://github.com/stevegrunwell/wp-enforcer/compare/v0.3.0...HEAD | ||
[0.3.0]: https://github.com/stevegrunwell/wp-enforcer/compare/v0.2.0...v0.3.0 | ||
[0.2.0]: https://github.com/stevegrunwell/wp-enforcer/compare/v0.1.0...v0.2.0 | ||
[#1]: https://github.com/stevegrunwell/wp-enforcer/issues/1 | ||
[#2]: https://github.com/stevegrunwell/wp-enforcer/issues/2 | ||
[#3]: https://github.com/stevegrunwell/wp-enforcer/issues/3 | ||
[#5]: https://github.com/stevegrunwell/wp-enforcer/issues/5 | ||
[#7]: https://github.com/stevegrunwell/wp-enforcer/issues/7 | ||
[#8]: https://github.com/stevegrunwell/wp-enforcer/issues/8 | ||
[#11]: https://github.com/stevegrunwell/wp-enforcer/issues/11 | ||
[#12]: https://github.com/stevegrunwell/wp-enforcer/issues/12 | ||
[#19]: https://github.com/stevegrunwell/wp-enforcer/issues/19 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?xml version="1.0"?> | ||
<!-- | ||
Customize the rules WP Enforcer uses by editing this file according to PHP_CodeSniffer's | ||
ruleset.xml standard: https://github.com/squizlabs/PHP_CodeSniffer/wiki/Annotated-ruleset.xml | ||
--> | ||
<ruleset name="WP-Enforcer"> | ||
<description>Coding standards from WP Enforcer.</description> | ||
|
||
<!-- FILES --> | ||
|
||
<exclude-pattern>*/tests/*</exclude-pattern> | ||
<exclude-pattern>*/vendor/*</exclude-pattern> | ||
|
||
<!-- | ||
Don't get angry about checking files that don't contain code | ||
@link https://github.com/stevegrunwell/wp-enforcer/issues/12 | ||
--> | ||
<rule ref="Internal.NoCodeFound"> | ||
<severity>0</severity> | ||
</rule> | ||
|
||
<rule ref="WordPress-VIP" /> | ||
<rule ref="WordPress-Docs" /> | ||
</ruleset> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters