Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion .github/phpcs/SectionComments.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading