Skip to content

Commit

Permalink
Merge pull request #287 from ergebnis/feature/phpdoc-tag-casing
Browse files Browse the repository at this point in the history
Enhancement: Enable and configure phpdoc_tag_casing fixer
  • Loading branch information
ergebnis-bot authored Dec 8, 2020
2 parents 6599f4f + dd62e81 commit fb9651c
Show file tree
Hide file tree
Showing 7 changed files with 32 additions and 6 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ For a full diff see [`2.6.1...main`][2.6.1...main].
* Enabled `no_useless_sprintf` fixer ([#284]), by [@localheinz]
* Enabled and configured `operator_linebreak` fixer ([#285]), by [@localheinz]
* Enabled and configured `phpdoc_inline_tag_normalizer` fixer ([#286]), by [@localheinz]
* Enabled and configured `phpdoc_tag_casing` fixer ([#287]), by [@localheinz]

## [`2.6.1`][2.6.1]

Expand Down Expand Up @@ -241,6 +242,7 @@ For a full diff see [`d899e77...1.0.0`][d899e77...1.0.0].
[#284]: https://github.com/ergebnis/php-cs-fixer-config/pull/284
[#285]: https://github.com/ergebnis/php-cs-fixer-config/pull/285
[#286]: https://github.com/ergebnis/php-cs-fixer-config/pull/286
[#287]: https://github.com/ergebnis/php-cs-fixer-config/pull/287

[@dependabot]: https://github.com/apps/dependabot
[@linuxjuggler]: https://github.com/linuxjuggler
Expand Down
6 changes: 5 additions & 1 deletion src/RuleSet/Php71.php
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,11 @@ final class Php71 extends AbstractRuleSet
'phpdoc_separation' => true,
'phpdoc_single_line_var_spacing' => true,
'phpdoc_summary' => true,
'phpdoc_tag_casing' => false,
'phpdoc_tag_casing' => [
'tags' => [
'inheritDoc',
],
],
'phpdoc_tag_type' => [
'tags' => [
'inheritdoc' => 'inline',
Expand Down
6 changes: 5 additions & 1 deletion src/RuleSet/Php73.php
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,11 @@ final class Php73 extends AbstractRuleSet
'phpdoc_separation' => true,
'phpdoc_single_line_var_spacing' => true,
'phpdoc_summary' => true,
'phpdoc_tag_casing' => false,
'phpdoc_tag_casing' => [
'tags' => [
'inheritDoc',
],
],
'phpdoc_tag_type' => [
'tags' => [
'inheritdoc' => 'inline',
Expand Down
6 changes: 5 additions & 1 deletion src/RuleSet/Php74.php
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,11 @@ final class Php74 extends AbstractRuleSet
'phpdoc_separation' => true,
'phpdoc_single_line_var_spacing' => true,
'phpdoc_summary' => true,
'phpdoc_tag_casing' => false,
'phpdoc_tag_casing' => [
'tags' => [
'inheritDoc',
],
],
'phpdoc_tag_type' => [
'tags' => [
'inheritdoc' => 'inline',
Expand Down
6 changes: 5 additions & 1 deletion test/Unit/RuleSet/Php71Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,11 @@ final class Php71Test extends AbstractRuleSetTestCase
'phpdoc_separation' => true,
'phpdoc_single_line_var_spacing' => true,
'phpdoc_summary' => true,
'phpdoc_tag_casing' => false,
'phpdoc_tag_casing' => [
'tags' => [
'inheritDoc',
],
],
'phpdoc_tag_type' => [
'tags' => [
'inheritdoc' => 'inline',
Expand Down
6 changes: 5 additions & 1 deletion test/Unit/RuleSet/Php73Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,11 @@ final class Php73Test extends AbstractRuleSetTestCase
'phpdoc_separation' => true,
'phpdoc_single_line_var_spacing' => true,
'phpdoc_summary' => true,
'phpdoc_tag_casing' => false,
'phpdoc_tag_casing' => [
'tags' => [
'inheritDoc',
],
],
'phpdoc_tag_type' => [
'tags' => [
'inheritdoc' => 'inline',
Expand Down
6 changes: 5 additions & 1 deletion test/Unit/RuleSet/Php74Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,11 @@ final class Php74Test extends AbstractRuleSetTestCase
'phpdoc_separation' => true,
'phpdoc_single_line_var_spacing' => true,
'phpdoc_summary' => true,
'phpdoc_tag_casing' => false,
'phpdoc_tag_casing' => [
'tags' => [
'inheritDoc',
],
],
'phpdoc_tag_type' => [
'tags' => [
'inheritdoc' => 'inline',
Expand Down

0 comments on commit fb9651c

Please sign in to comment.