Skip to content

Commit d2bd456

Browse files
authored
Regroup annotation (#9)
1 parent 51084cf commit d2bd456

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

Syntatis/ruleset.xml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,18 +61,19 @@
6161
<!-- Psalm & PHPStan annotations -->
6262
<element value="
6363
@phpstan-consistent-constructor,
64-
@phpstan-import-type,
65-
@phpstan-type,
6664
@psalm-consistent-constructor,
65+
@phpstan-import-type,
6766
@psalm-import-type,
67+
@phpstan-type,
6868
@psalm-type"
6969
/>
7070
<element value="@template, @template-implements, @template-extends"/>
7171
<element value="@example, @see, @link, @todo"/>
72-
<element value="@method, @property"/>
73-
<element value="@phpstan-method, @phpstan-property, @psalm-method, @psalm-property"/>
74-
<element value="@param, @throws, @return"/>
75-
<element value="@phpstan-param, @phpstan-return, @phpstan-throws, @psalm-param, @psalm-return, @psalm-throws"/>
72+
<element value="@method, @phpstan-method, @psalm-method"/>
73+
<element value="@property, @phpstan-property, @psalm-property"/>
74+
<element value="@param, @phpstan-param, @psalm-param"/>
75+
<element value="@return, @phpstan-return, @psalm-return"/>
76+
<element value="@throws, @phpstan-throws, @psalm-throws"/>
7677
</property>
7778
</properties>
7879
</rule>

0 commit comments

Comments
 (0)