You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Fixer/PhpdocNoIncorrectVarAnnotationFixer.php
+15-9Lines changed: 15 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,12 @@ public function getDefinition(): FixerDefinitionInterface
26
26
);
27
27
}
28
28
29
+
publicfunctiongetPriority(): int
30
+
{
31
+
// must be run before NoEmptyCommentFixer, NoEmptyPhpdocFixer, NoExtraBlankLinesFixer, NoTrailingWhitespaceFixer, NoUnusedImportsFixer and NoWhitespaceInBlankLineFixer
32
+
return6;
33
+
}
34
+
29
35
publicfunctionisCandidate(Tokens$tokens): bool
30
36
{
31
37
return$tokens->isTokenKindFound(T_DOC_COMMENT);
@@ -39,11 +45,7 @@ public function isRisky(): bool
// must be run before NoEmptyCommentFixer, NoEmptyPhpdocFixer, NoExtraBlankLinesFixer, NoTrailingWhitespaceFixer, NoUnusedImportsFixer and NoWhitespaceInBlankLineFixer
0 commit comments