Skip to content

Commit

Permalink
Enhancement: Configure phpdoc_separation fixer to group deprecated an…
Browse files Browse the repository at this point in the history
…notations into a separate group
  • Loading branch information
localheinz committed Apr 11, 2023
1 parent dccb69d commit 1fea799
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

For a full diff see [`5.4.0...main`][5.4.0...main].

### Changed

- Configured `phpdoc_separation` fixer to group `@deprecated` annotations into a separate group ([#751]), by [@localheinz]

## [`5.4.0`][5.4.0]

For a full diff see [`5.3.3...5.4.0`][5.3.3...5.4.0].
Expand Down Expand Up @@ -904,6 +908,7 @@ For a full diff see [`d899e77...1.0.0`][d899e77...1.0.0].
[#746]: https://github.com/ergebnis/php-cs-fixer-config/pull/746
[#747]: https://github.com/ergebnis/php-cs-fixer-config/pull/747
[#748]: https://github.com/ergebnis/php-cs-fixer-config/pull/748
[#751]: https://github.com/ergebnis/php-cs-fixer-config/pull/751

[@dependabot]: https://github.com/apps/dependabot
[@linuxjuggler]: https://github.com/linuxjuggler
Expand Down
2 changes: 2 additions & 0 deletions src/RuleSet/Php80.php
Original file line number Diff line number Diff line change
Expand Up @@ -590,6 +590,8 @@ final class Php80 extends AbstractRuleSet implements ExplicitRuleSet
'groups' => [
[
'deprecated',
],
[
'link',
'see',
'since',
Expand Down
2 changes: 2 additions & 0 deletions src/RuleSet/Php81.php
Original file line number Diff line number Diff line change
Expand Up @@ -591,6 +591,8 @@ final class Php81 extends AbstractRuleSet implements ExplicitRuleSet
'groups' => [
[
'deprecated',
],
[
'link',
'see',
'since',
Expand Down
2 changes: 2 additions & 0 deletions src/RuleSet/Php82.php
Original file line number Diff line number Diff line change
Expand Up @@ -591,6 +591,8 @@ final class Php82 extends AbstractRuleSet implements ExplicitRuleSet
'groups' => [
[
'deprecated',
],
[
'link',
'see',
'since',
Expand Down
2 changes: 2 additions & 0 deletions test/Unit/RuleSet/Php80Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -596,6 +596,8 @@ final class Php80Test extends ExplicitRuleSetTestCase
'groups' => [
[
'deprecated',
],
[
'link',
'see',
'since',
Expand Down
2 changes: 2 additions & 0 deletions test/Unit/RuleSet/Php81Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -597,6 +597,8 @@ final class Php81Test extends ExplicitRuleSetTestCase
'groups' => [
[
'deprecated',
],
[
'link',
'see',
'since',
Expand Down
2 changes: 2 additions & 0 deletions test/Unit/RuleSet/Php82Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -597,6 +597,8 @@ final class Php82Test extends ExplicitRuleSetTestCase
'groups' => [
[
'deprecated',
],
[
'link',
'see',
'since',
Expand Down

0 comments on commit 1fea799

Please sign in to comment.