Skip to content

Commit

Permalink
Merge pull request #257 from ergebnis/feature/data-provider
Browse files Browse the repository at this point in the history
Enhancement: Configure phpdoc_order_by_value fixer to order dataProvider annotations
  • Loading branch information
ergebnis-bot authored Dec 8, 2020
2 parents 32caf53 + cb3d048 commit fc904d3
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 ([#257]), 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
[#257]: https://github.com/ergebnis/php-cs-fixer-config/pull/257

[@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 fc904d3

Please sign in to comment.