Skip to content

Commit

Permalink
Enhancement: Configure phpdoc_order_by_value fixer to order dataProvi…
Browse files Browse the repository at this point in the history
…der annotations
  • Loading branch information
localheinz committed Dec 8, 2020
1 parent 32caf53 commit 448edca
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ For a full diff see [`2.5.3...main`][2.5.3...main].
### Changed

* Updated `friendsofphp/php-cs-fixer` ([#255]), by [@localheinz]
* Configured `phpdoc_order_by_value` fixer to order `@dataProvider` annotations by value ([#256]), by [@localheinz]

## [`2.5.3`][2.5.3]

Expand Down Expand Up @@ -187,6 +188,7 @@ For a full diff see [`d899e77...1.0.0`][d899e77...1.0.0].
[#241]: https://github.com/ergebnis/php-cs-fixer-config/pull/241
[#247]: https://github.com/ergebnis/php-cs-fixer-config/pull/247
[#255]: https://github.com/ergebnis/php-cs-fixer-config/pull/255
[#256]: https://github.com/ergebnis/php-cs-fixer-config/pull/256

[@dependabot]: https://github.com/apps/dependabot
[@linuxjuggler]: https://github.com/linuxjuggler
Expand Down
1 change: 1 addition & 0 deletions src/RuleSet/Php71.php
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,7 @@ final class Php71 extends AbstractRuleSet
'phpdoc_order_by_value' => [
'annotations' => [
'covers',
'dataProvider',
],
],
'phpdoc_return_self_reference' => true,
Expand Down
1 change: 1 addition & 0 deletions src/RuleSet/Php73.php
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,7 @@ final class Php73 extends AbstractRuleSet
'phpdoc_order_by_value' => [
'annotations' => [
'covers',
'dataProvider',
],
],
'phpdoc_return_self_reference' => true,
Expand Down
1 change: 1 addition & 0 deletions src/RuleSet/Php74.php
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,7 @@ final class Php74 extends AbstractRuleSet
'phpdoc_order_by_value' => [
'annotations' => [
'covers',
'dataProvider',
],
],
'phpdoc_return_self_reference' => true,
Expand Down
1 change: 1 addition & 0 deletions test/Unit/RuleSet/Php71Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,7 @@ final class Php71Test extends AbstractRuleSetTestCase
'phpdoc_order_by_value' => [
'annotations' => [
'covers',
'dataProvider',
],
],
'phpdoc_return_self_reference' => true,
Expand Down
1 change: 1 addition & 0 deletions test/Unit/RuleSet/Php73Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,7 @@ final class Php73Test extends AbstractRuleSetTestCase
'phpdoc_order_by_value' => [
'annotations' => [
'covers',
'dataProvider',
],
],
'phpdoc_return_self_reference' => true,
Expand Down
1 change: 1 addition & 0 deletions test/Unit/RuleSet/Php74Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,7 @@ final class Php74Test extends AbstractRuleSetTestCase
'phpdoc_order_by_value' => [
'annotations' => [
'covers',
'dataProvider',
],
],
'phpdoc_return_self_reference' => true,
Expand Down

0 comments on commit 448edca

Please sign in to comment.