Skip to content

Commit 3e94335

Browse files
committed
Enable spacing option and add more tags to phpdoc_align
1 parent c330552 commit 3e94335

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed

src/Ruleset/Nexus80.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -435,9 +435,16 @@ public function __construct()
435435
'phpdoc_add_missing_param_annotation' => ['only_untyped' => true],
436436
'phpdoc_align' => [
437437
'align' => 'vertical',
438+
'spacing' => 1,
438439
'tags' => [
439440
'method',
440441
'param',
442+
'phpstan-assert',
443+
'phpstan-assert-if-true',
444+
'phpstan-assert-if-false',
445+
'phpstan-param',
446+
'phpstan-property',
447+
'phpstan-return',
441448
'property',
442449
'return',
443450
'throws',

src/Ruleset/Nexus81.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -435,9 +435,16 @@ public function __construct()
435435
'phpdoc_add_missing_param_annotation' => ['only_untyped' => true],
436436
'phpdoc_align' => [
437437
'align' => 'vertical',
438+
'spacing' => 1,
438439
'tags' => [
439440
'method',
440441
'param',
442+
'phpstan-assert',
443+
'phpstan-assert-if-true',
444+
'phpstan-assert-if-false',
445+
'phpstan-param',
446+
'phpstan-property',
447+
'phpstan-return',
441448
'property',
442449
'return',
443450
'throws',

src/Ruleset/Nexus82.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -435,9 +435,16 @@ public function __construct()
435435
'phpdoc_add_missing_param_annotation' => ['only_untyped' => true],
436436
'phpdoc_align' => [
437437
'align' => 'vertical',
438+
'spacing' => 1,
438439
'tags' => [
439440
'method',
440441
'param',
442+
'phpstan-assert',
443+
'phpstan-assert-if-true',
444+
'phpstan-assert-if-false',
445+
'phpstan-param',
446+
'phpstan-property',
447+
'phpstan-return',
441448
'property',
442449
'return',
443450
'throws',

0 commit comments

Comments
 (0)