Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ All notable changes will be documented in this file. Guidelines on the format an

Version names based on [Top 100 Songs of 1984 - Billboard Year End Charts](http://www.bobborst.com/popculture/top-100-songs-of-the-year/?year=1984), follow in descending order.

## 1.2.0 - 2015-12-02 - `Jump`

### Added

* Add the ability to run php-cs-fixer from [Sensio](https://github.com/FriendsOfPHP/PHP-CS-Fixer) to the pre-commit tools. Thanks to @craig-davis


## 1.1.0 - 2015-12-02 - `Against All Odds (Take A Look At Me Now)`

### Fixed
Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Just add to your `.pre-commit-config.yaml` file with the following

```yaml
- repo: git@github.com:hootsuite/pre-commit-php.git
sha: 1.1.0
sha: 1.2.0
hooks:
- id: php-lint
- id: php-unit
Expand All @@ -27,7 +27,7 @@ Just add to your `.pre-commit-config.yaml` file with the following
```yaml
<<<<<<< HEAD
- repo: git@github.com:hootsuite/pre-commit-php.git
sha: 1.1.0
sha: 1.2.0
hooks:
- id: php-lint
```
Expand All @@ -38,7 +38,7 @@ A bash script that runs `php -l` against stage files that are php. Assumes `php`

```yaml
- repo: git@github.com:hootsuite/pre-commit-php.git
sha: 1.1.0
sha: 1.2.0
hooks:
- id: php-lint-all
```
Expand All @@ -50,7 +50,7 @@ A systems hook that just runs `php -l` against stage files that have the `.php`

```yaml
- repo: git@github.com:hootsuite/pre-commit-php.git
sha: 1.1.0
sha: 1.2.0
hooks:
- id: php-unit
```
Expand All @@ -65,7 +65,7 @@ Note in its current state, it will run the whole PHPUnit test as along as `.php`

```yaml
- repo: git@github.com:hootsuite/pre-commit-php.git
sha: 1.1.0
sha: 1.2.0
hooks:
- id: php-cs
files: \.(php)$
Expand All @@ -84,7 +84,7 @@ If you have multiple standards or a comma in your `args` property, escape the co

```yaml
- repo: git@github.com:hootsuite/pre-commit-php.git
sha: 1.1.0
sha: 1.2.0
hooks:
- id: php-cs
files: \.(php)$
Expand All @@ -100,7 +100,7 @@ If you have multiple standards or a comma in your `args` property, escape the co

```yaml
- repo: git@github.com:hootsuite/pre-commit-php.git
sha: 1.1.0
sha: 1.2.0
hooks:
- id: php-cs
files: \.(php)$
Expand All @@ -112,7 +112,7 @@ To install PHP Codesniffer (phpcs & phpcbf), follow the [recommended steps here]
## php-cs-fixer
```yaml
- repo: git@github.com:hootsuite/pre-commit-php.git
sha: 1.1.0
sha: 1.2.0
hooks:
- id: php-cs-fixer
files: \.(php)$
Expand Down