Skip to content

Commit

Permalink
Move priority comment
Browse files Browse the repository at this point in the history
  • Loading branch information
julienfalque committed Apr 5, 2020
1 parent b3d57cc commit b726858
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/AbstractFixer.php
Expand Up @@ -97,9 +97,6 @@ public function getName()

/**
* {@inheritdoc}
*
* Must run before PhpdocAlignFixer.
* Must run after CommentToPhpdocFixer, PhpdocIndentFixer, PhpdocScalarFixer, PhpdocToCommentFixer, PhpdocTypesFixer.
*/
public function getPriority()
{
Expand Down
11 changes: 11 additions & 0 deletions src/Fixer/FunctionNotation/PhpdocToPropertyTypeFixer.php
Expand Up @@ -67,6 +67,17 @@ public function isCandidate(Tokens $tokens)
return \PHP_VERSION_ID >= 70400 && $tokens->isTokenKindFound(T_DOC_COMMENT);
}

/**
* {@inheritdoc}
*
* Must run before PhpdocAlignFixer.
* Must run after CommentToPhpdocFixer, PhpdocIndentFixer, PhpdocScalarFixer, PhpdocToCommentFixer, PhpdocTypesFixer.
*/
public function getPriority()
{
return parent::getPriority();
}

/**
* {@inheritdoc}
*/
Expand Down

0 comments on commit b726858

Please sign in to comment.