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 24, 2020
1 parent c662b5e commit 6200c1a
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.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]
* Enabled `php_unit_set_up_tear_down_visibility` fixer for `Ergebnis\PhpCsFixer\Config\RuleSet\PhpUnit` ([#303]), by [@localheinz]
* Enabled `allow_single_line_anonymous_class_with_empty_body` option for `braces` fixer ([#306]), by [@localheinz]

Expand Down Expand Up @@ -280,6 +281,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
[#303]: https://github.com/ergebnis/php-cs-fixer-config/pull/303
[#304]: https://github.com/ergebnis/php-cs-fixer-config/pull/304
[#306]: https://github.com/ergebnis/php-cs-fixer-config/pull/306
Expand Down
1 change: 1 addition & 0 deletions src/RuleSet/Php71.php
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,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 @@ -336,6 +336,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 @@ -336,6 +336,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 @@ -342,6 +342,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 @@ -342,6 +342,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 @@ -342,6 +342,7 @@ final class Php74Test extends AbstractRuleSetTestCase
'group',
'internal',
'requires',
'throws',
'uses',
],
],
Expand Down

0 comments on commit 6200c1a

Please sign in to comment.