Skip to content

Commit

Permalink
Enhancement: Configure phpdoc_order_by_value fixer to order throws an…
Browse files Browse the repository at this point in the history
…notations
  • Loading branch information
localheinz committed Dec 19, 2020
1 parent 53f6735 commit c307f90
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ For a full diff see [`2.8.0...main`][2.8.0...main].
### Changed

* Enabled and configured `php_unit_test_case_static_method_calls` fixer for `Ergebnis\PhpCsFixer\Config\RuleSet\PhpUnit` ([#301]), by [@localheinz]
*
* configured `phpdoc_order_by_value` fixer to order `@throws` annotations ([#302]), by [@localheinz]

## [`2.8.0`][2.8.0]

For a full diff see [`2.7.0...2.8.0`][2.7.0...2.8.0].
Expand Down Expand Up @@ -273,6 +274,7 @@ For a full diff see [`d899e77...1.0.0`][d899e77...1.0.0].
[#291]: https://github.com/ergebnis/php-cs-fixer-config/pull/291
[#300]: https://github.com/ergebnis/php-cs-fixer-config/pull/300
[#301]: https://github.com/ergebnis/php-cs-fixer-config/pull/301
[#302]: https://github.com/ergebnis/php-cs-fixer-config/pull/302

[@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 @@ -334,6 +334,7 @@ final class Php71 extends AbstractRuleSet
'group',
'internal',
'requires',
'throws',
'uses',
],
],
Expand Down
1 change: 1 addition & 0 deletions src/RuleSet/Php73.php
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,7 @@ final class Php73 extends AbstractRuleSet
'group',
'internal',
'requires',
'throws',
'uses',
],
],
Expand Down
1 change: 1 addition & 0 deletions src/RuleSet/Php74.php
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,7 @@ final class Php74 extends AbstractRuleSet
'group',
'internal',
'requires',
'throws',
'uses',
],
],
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 @@ -340,6 +340,7 @@ final class Php71Test extends AbstractRuleSetTestCase
'group',
'internal',
'requires',
'throws',
'uses',
],
],
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 @@ -340,6 +340,7 @@ final class Php73Test extends AbstractRuleSetTestCase
'group',
'internal',
'requires',
'throws',
'uses',
],
],
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 @@ -340,6 +340,7 @@ final class Php74Test extends AbstractRuleSetTestCase
'group',
'internal',
'requires',
'throws',
'uses',
],
],
Expand Down

0 comments on commit c307f90

Please sign in to comment.