Skip to content

Commit

Permalink
DX: fix priority of SingleBlankLineBeforeNamespaceFixer (#7088)
Browse files Browse the repository at this point in the history
  • Loading branch information
kubawerlos authored Jun 25, 2023
1 parent 84c7f80 commit 2042301
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,6 @@ public function isCandidate(Tokens $tokens): bool
return $tokens->isTokenKindFound(T_NAMESPACE);
}

public function getPriority(): int
{
return -21;
}

protected function createProxyFixers(): array
{
$blankLineBeforeNamespace = new BlankLinesBeforeNamespaceFixer();
Expand Down
1 change: 0 additions & 1 deletion tests/AutoReview/FixerFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,6 @@ public function testFixerWithNoneDefaultPriorityIsTested(): void
'no_trailing_comma_in_singleline_function_call' => true, // had prio case but no longer, left prio the same for BC reasons, rule has been deprecated
'psr_autoloading' => true,
'simple_to_complex_string_variable' => true, // had prio case but no longer, left prio the same for BC reasons
'single_blank_line_before_namespace' => true,
];

$factory = new FixerFactory();
Expand Down

0 comments on commit 2042301

Please sign in to comment.