Skip to content

Commit fbe86f7

Browse files
committed
Add new option to phpdoc_separation
1 parent c632ed1 commit fbe86f7

File tree

3 files changed

+24
-3
lines changed

3 files changed

+24
-3
lines changed

src/Ruleset/Nexus74.php

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,14 @@ public function __construct()
476476
'str',
477477
],
478478
],
479-
'phpdoc_separation' => true,
479+
'phpdoc_separation' => [
480+
'groups' => [
481+
['deprecated', 'link', 'see', 'since'],
482+
['author', 'copyright', 'license'],
483+
['category', 'package', 'subpackage'],
484+
['property', 'property-read', 'property-write'],
485+
],
486+
],
480487
'phpdoc_single_line_var_spacing' => true,
481488
'phpdoc_summary' => true,
482489
'phpdoc_tag_casing' => ['tags' => ['inheritDoc']],

src/Ruleset/Nexus80.php

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,14 @@ public function __construct()
476476
'str',
477477
],
478478
],
479-
'phpdoc_separation' => true,
479+
'phpdoc_separation' => [
480+
'groups' => [
481+
['deprecated', 'link', 'see', 'since'],
482+
['author', 'copyright', 'license'],
483+
['category', 'package', 'subpackage'],
484+
['property', 'property-read', 'property-write'],
485+
],
486+
],
480487
'phpdoc_single_line_var_spacing' => true,
481488
'phpdoc_summary' => true,
482489
'phpdoc_tag_casing' => ['tags' => ['inheritDoc']],

src/Ruleset/Nexus81.php

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,14 @@ public function __construct()
476476
'str',
477477
],
478478
],
479-
'phpdoc_separation' => true,
479+
'phpdoc_separation' => [
480+
'groups' => [
481+
['deprecated', 'link', 'see', 'since'],
482+
['author', 'copyright', 'license'],
483+
['category', 'package', 'subpackage'],
484+
['property', 'property-read', 'property-write'],
485+
],
486+
],
480487
'phpdoc_single_line_var_spacing' => true,
481488
'phpdoc_summary' => true,
482489
'phpdoc_tag_casing' => ['tags' => ['inheritDoc']],

0 commit comments

Comments
 (0)