Skip to content

Commit

Permalink
Merge pull request #73 from ergebnis/feature/php-unit-dedicate-assert
Browse files Browse the repository at this point in the history
Enhancement: Configure php_unit_dedicate_assert fixer to target newest versions
  • Loading branch information
localheinz authored Feb 28, 2020
2 parents df69eef + 846a694 commit a975810
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 6 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.0.0...master`][2.0.0...master].
For a full diff see [`2.1.0...master`][2.1.0...master].

## [`2.1.0`][2.1.0]

For a full diff see [`2.0.0...2.1.0`][2.0.0...2.1.0].

### Changed

* Configured `php_unit_dedicate_assert` fixer to target `newest` versions of `phpunit/phpunit` ([#73]), by [@localheinz]

## [`2.0.0`][2.0.0]

Expand Down Expand Up @@ -58,20 +66,23 @@ For a full diff see [`d899e77...1.0.0`][d899e77...1.0.0].
[1.1.2]: https://github.com/ergebnis/php-cs-fixer-config/releases/tag/1.1.2
[1.1.3]: https://github.com/ergebnis/php-cs-fixer-config/releases/tag/1.1.3
[2.0.0]: https://github.com/ergebnis/php-cs-fixer-config/releases/tag/2.0.0
[2.1.0]: https://github.com/ergebnis/php-cs-fixer-config/releases/tag/2.1.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
[1.1.0...1.1.1]: https://github.com/ergebnis/php-cs-fixer-config/compare/1.1.0...1.1.1
[1.1.1...1.1.2]: https://github.com/ergebnis/php-cs-fixer-config/compare/1.1.1...1.1.2
[1.1.2...1.1.3]: https://github.com/ergebnis/php-cs-fixer-config/compare/1.1.2...1.1.3
[1.1.3...2.0.0]: https://github.com/ergebnis/php-cs-fixer-config/compare/1.1.3...2.0.0
[2.0.0...master]: https://github.com/ergebnis/php-cs-fixer-config/compare/2.0.0...master
[2.0.0...2.1.0]: https://github.com/ergebnis/php-cs-fixer-config/compare/2.0.0...2.1.0
[2.1.0...master]: https://github.com/ergebnis/php-cs-fixer-config/compare/2.1.0...master

[#3]: https://github.com/ergebnis/php-cs-fixer-config/pull/3
[#14]: https://github.com/ergebnis/php-cs-fixer-config/pull/14
[#17]: https://github.com/ergebnis/php-cs-fixer-config/pull/17
[#23]: https://github.com/ergebnis/php-cs-fixer-config/pull/23
[#50]: https://github.com/ergebnis/php-cs-fixer-config/pull/50
[#73]: https://github.com/ergebnis/php-cs-fixer-config/pull/73

[@linuxjuggler]: https://github.com/linuxjuggler
[@localheinz]: https://github.com/localheinz
4 changes: 3 additions & 1 deletion src/RuleSet/Php71.php
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,9 @@ final class Php71 extends AbstractRuleSet
'ordered_imports' => true,
'ordered_interfaces' => true,
'php_unit_construct' => true,
'php_unit_dedicate_assert' => true,
'php_unit_dedicate_assert' => [
'target' => 'newest',
],
'php_unit_dedicate_assert_internal_type' => true,
'php_unit_expectation' => [
'target' => 'newest',
Expand Down
4 changes: 3 additions & 1 deletion src/RuleSet/Php73.php
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,9 @@ final class Php73 extends AbstractRuleSet
'ordered_imports' => true,
'ordered_interfaces' => true,
'php_unit_construct' => true,
'php_unit_dedicate_assert' => true,
'php_unit_dedicate_assert' => [
'target' => 'newest',
],
'php_unit_dedicate_assert_internal_type' => true,
'php_unit_expectation' => [
'target' => 'newest',
Expand Down
4 changes: 3 additions & 1 deletion test/Unit/RuleSet/Php71Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,9 @@ final class Php71Test extends AbstractRuleSetTestCase
'ordered_imports' => true,
'ordered_interfaces' => true,
'php_unit_construct' => true,
'php_unit_dedicate_assert' => true,
'php_unit_dedicate_assert' => [
'target' => 'newest',
],
'php_unit_dedicate_assert_internal_type' => true,
'php_unit_expectation' => [
'target' => 'newest',
Expand Down
4 changes: 3 additions & 1 deletion test/Unit/RuleSet/Php73Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,9 @@ final class Php73Test extends AbstractRuleSetTestCase
'ordered_imports' => true,
'ordered_interfaces' => true,
'php_unit_construct' => true,
'php_unit_dedicate_assert' => true,
'php_unit_dedicate_assert' => [
'target' => 'newest',
],
'php_unit_dedicate_assert_internal_type' => true,
'php_unit_expectation' => [
'target' => 'newest',
Expand Down

0 comments on commit a975810

Please sign in to comment.