diff --git a/.github/phpcs/SectionComments.php b/.github/phpcs/SectionComments.php index a16d89b946a..b5126475554 100644 --- a/.github/phpcs/SectionComments.php +++ b/.github/phpcs/SectionComments.php @@ -192,9 +192,22 @@ private static function method6(): void {} ); } + /** + * Returns the priority of the fixer. + * + * The default priority is 0 and higher priorities are executed first. + * + * Must run before IndentationTypeFixer, NoExtraBlankLinesFixer. + * Must run after ClassAttributesSeparationFixer, OrderedClassElementsFixer. + * + * - IndentationTypeFixer::getPriority() => 50 + * - NoExtraBlankLinesFixer::getPriority() => -20 + * - ClassAttributesSeparationFixer::getPriority() => 55 + * - OrderedClassElementsFixer::getPriority() => 65 + */ public function getPriority(): int { - return -110; + return 54; } public function isCandidate(Tokens $tokens): bool