Skip to content

Commit

Permalink
Merge pull request #300 from ergebnis/feature/phpunit
Browse files Browse the repository at this point in the history
Enhancement: Add rule set for PHPUnit
  • Loading branch information
ergebnis-bot authored Dec 18, 2020
2 parents 0109e4a + 57e4314 commit 40490fc
Show file tree
Hide file tree
Showing 4 changed files with 745 additions and 2 deletions.
15 changes: 13 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,15 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## Unreleased

For a full diff see [`2.7.0...main`][2.7.0...main].
For a full diff see [`2.8.0...main`][2.8.0...main].

## [`2.8.0`][2.8.0]

For a full diff see [`2.7.0...2.8.0`][2.7.0...2.8.0].

### Added

* Added `Ergebnis\PhpCsFixer\Config\RuleSet\PhpUnit`, a rule set for `phpunit/phpunit` ([#300]), by [@localheinz]

## [`2.7.0`][2.7.0]

Expand Down Expand Up @@ -196,6 +204,7 @@ For a full diff see [`d899e77...1.0.0`][d899e77...1.0.0].
[2.6.0]: https://github.com/ergebnis/php-cs-fixer-config/releases/tag/2.6.0
[2.6.1]: https://github.com/ergebnis/php-cs-fixer-config/releases/tag/2.6.1
[2.7.0]: https://github.com/ergebnis/php-cs-fixer-config/releases/tag/2.7.0
[2.8.0]: https://github.com/ergebnis/php-cs-fixer-config/releases/tag/2.8.0

[d899e77...1.0.0]: https://github.com/ergebnis/php-cs-fixer-config/compare/d899e77...1.0.0
[1.0.0...1.1.0]: https://github.com/ergebnis/php-cs-fixer-config/compare/1.0.0...1.1.0
Expand All @@ -216,7 +225,8 @@ For a full diff see [`d899e77...1.0.0`][d899e77...1.0.0].
[2.5.3...2.6.0]: https://github.com/ergebnis/php-cs-fixer-config/compare/2.5.3...2.6.0
[2.6.0...2.6.1]: https://github.com/ergebnis/php-cs-fixer-config/compare/2.6.0...2.6.1
[2.6.1...2.7.0]: https://github.com/ergebnis/php-cs-fixer-config/compare/2.6.1...2.7.0
[2.7.0...main]: https://github.com/ergebnis/php-cs-fixer-config/compare/2.7.0...main
[2.7.0...2.8.0]: https://github.com/ergebnis/php-cs-fixer-config/compare/2.7.0...2.8.0
[2.8.0...main]: https://github.com/ergebnis/php-cs-fixer-config/compare/2.8.0...main

[#3]: https://github.com/ergebnis/php-cs-fixer-config/pull/3
[#14]: https://github.com/ergebnis/php-cs-fixer-config/pull/14
Expand Down Expand Up @@ -257,6 +267,7 @@ For a full diff see [`d899e77...1.0.0`][d899e77...1.0.0].
[#289]: https://github.com/ergebnis/php-cs-fixer-config/pull/289
[#290]: https://github.com/ergebnis/php-cs-fixer-config/pull/290
[#291]: https://github.com/ergebnis/php-cs-fixer-config/pull/291
[#300]: https://github.com/ergebnis/php-cs-fixer-config/pull/300

[@dependabot]: https://github.com/apps/dependabot
[@linuxjuggler]: https://github.com/linuxjuggler
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ Pick one of the rule sets:
* [`Ergebnis\PhpCsFixer\RuleSet\Php71`](src/RuleSet/Php74.php)
* [`Ergebnis\PhpCsFixer\RuleSet\Php73`](src/RuleSet/Php73.php)
* [`Ergebnis\PhpCsFixer\RuleSet\Php74`](src/RuleSet/Php74.php)
* [`Ergebnis\PhpCsFixer\RuleSet\PhpUnit`](src/RuleSet/PhpUnit.php)

Create a configuration file `.php_cs` in the root of your project:

Expand Down
Loading

0 comments on commit 40490fc

Please sign in to comment.