From 02e1a2aac49d6e1514e986f89ab238713214fcc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Tue, 8 Mar 2022 22:47:16 +0100 Subject: [PATCH] Enhancement: Configure phpdoc_align fixer to align more tags --- CHANGELOG.md | 2 ++ src/RuleSet/Php74.php | 2 ++ src/RuleSet/Php80.php | 2 ++ src/RuleSet/Php81.php | 2 ++ test/Unit/RuleSet/Php74Test.php | 2 ++ test/Unit/RuleSet/Php80Test.php | 2 ++ test/Unit/RuleSet/Php81Test.php | 2 ++ 7 files changed, 14 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 93b71a3d..742afe37 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ For a full diff see [`4.2.0...main`][4.2.0...main]. - Configured `blank_line_before_statement` fixer to include additional statements ([#581]), by [@localheinz] - Configured `no_unneeded_control_parentheses` fixer to include additional statements ([#583]), by [@localheinz] - Configured `ordered_class_elements` fixer to order more elements ([#584]), by [@localheinz] +- Configured `phpdoc_aling` fixer to align more tags ([#586]), by [@localheinz] ## [`4.2.0`][4.2.0] @@ -607,6 +608,7 @@ For a full diff see [`d899e77...1.0.0`][d899e77...1.0.0]. [#581]: https://github.com/ergebnis/php-cs-fixer-config/pull/581 [#583]: https://github.com/ergebnis/php-cs-fixer-config/pull/583 [#584]: https://github.com/ergebnis/php-cs-fixer-config/pull/584 +[#586]: https://github.com/ergebnis/php-cs-fixer-config/pull/586 [@dependabot]: https://github.com/apps/dependabot [@linuxjuggler]: https://github.com/linuxjuggler diff --git a/src/RuleSet/Php74.php b/src/RuleSet/Php74.php index 5eb2d816..654968c9 100644 --- a/src/RuleSet/Php74.php +++ b/src/RuleSet/Php74.php @@ -468,6 +468,8 @@ final class Php74 extends AbstractRuleSet implements ExplicitRuleSet 'method', 'param', 'property', + 'property-read', + 'property-write', 'return', 'throws', 'type', diff --git a/src/RuleSet/Php80.php b/src/RuleSet/Php80.php index 9deb7395..7a93d139 100644 --- a/src/RuleSet/Php80.php +++ b/src/RuleSet/Php80.php @@ -468,6 +468,8 @@ final class Php80 extends AbstractRuleSet implements ExplicitRuleSet 'method', 'param', 'property', + 'property-read', + 'property-write', 'return', 'throws', 'type', diff --git a/src/RuleSet/Php81.php b/src/RuleSet/Php81.php index a390f8a2..468ac4a2 100644 --- a/src/RuleSet/Php81.php +++ b/src/RuleSet/Php81.php @@ -469,6 +469,8 @@ final class Php81 extends AbstractRuleSet implements ExplicitRuleSet 'method', 'param', 'property', + 'property-read', + 'property-write', 'return', 'throws', 'type', diff --git a/test/Unit/RuleSet/Php74Test.php b/test/Unit/RuleSet/Php74Test.php index a017992b..494e2f60 100644 --- a/test/Unit/RuleSet/Php74Test.php +++ b/test/Unit/RuleSet/Php74Test.php @@ -474,6 +474,8 @@ final class Php74Test extends ExplicitRuleSetTestCase 'method', 'param', 'property', + 'property-read', + 'property-write', 'return', 'throws', 'type', diff --git a/test/Unit/RuleSet/Php80Test.php b/test/Unit/RuleSet/Php80Test.php index 1eb3236e..c54ebfa6 100644 --- a/test/Unit/RuleSet/Php80Test.php +++ b/test/Unit/RuleSet/Php80Test.php @@ -474,6 +474,8 @@ final class Php80Test extends ExplicitRuleSetTestCase 'method', 'param', 'property', + 'property-read', + 'property-write', 'return', 'throws', 'type', diff --git a/test/Unit/RuleSet/Php81Test.php b/test/Unit/RuleSet/Php81Test.php index 424faa59..88cd220f 100644 --- a/test/Unit/RuleSet/Php81Test.php +++ b/test/Unit/RuleSet/Php81Test.php @@ -475,6 +475,8 @@ final class Php81Test extends ExplicitRuleSetTestCase 'method', 'param', 'property', + 'property-read', + 'property-write', 'return', 'throws', 'type',