Skip to content

Commit 05c0944

Browse files
committed
Group template and template-covariant PHPDocs
1 parent 3ff9bef commit 05c0944

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

src/Ruleset/Nexus80.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -540,8 +540,7 @@ public function __construct()
540540
['readonly', 'phpstan-readonly'],
541541
['return', 'phpstan-return'],
542542
['runTestsInSeparateProcess', 'runInSeparateProcess', 'preserveGlobalState'],
543-
['template', 'phpstan-template'],
544-
['template-covariant', 'phpstan-template-covariant'],
543+
['template', 'template-covariant', 'phpstan-template', 'phpstan-template-covariant'],
545544
['var', 'phpstan-var', 'psalm-var'],
546545
],
547546
'skip_unlisted_annotations' => false,

src/Ruleset/Nexus81.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -540,8 +540,7 @@ public function __construct()
540540
['readonly', 'phpstan-readonly'],
541541
['return', 'phpstan-return'],
542542
['runTestsInSeparateProcess', 'runInSeparateProcess', 'preserveGlobalState'],
543-
['template', 'phpstan-template'],
544-
['template-covariant', 'phpstan-template-covariant'],
543+
['template', 'template-covariant', 'phpstan-template', 'phpstan-template-covariant'],
545544
['var', 'phpstan-var', 'psalm-var'],
546545
],
547546
'skip_unlisted_annotations' => false,

src/Ruleset/Nexus82.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -540,8 +540,7 @@ public function __construct()
540540
['readonly', 'phpstan-readonly'],
541541
['return', 'phpstan-return'],
542542
['runTestsInSeparateProcess', 'runInSeparateProcess', 'preserveGlobalState'],
543-
['template', 'phpstan-template'],
544-
['template-covariant', 'phpstan-template-covariant'],
543+
['template', 'template-covariant', 'phpstan-template', 'phpstan-template-covariant'],
545544
['var', 'phpstan-var', 'psalm-var'],
546545
],
547546
'skip_unlisted_annotations' => false,

0 commit comments

Comments
 (0)