diff --git a/src/lint/linter/xhpast/rules/ArcanistBraceFormattingXHPASTLinterRule.php b/src/lint/linter/xhpast/rules/ArcanistBraceFormattingXHPASTLinterRule.php index 0a8c33b7..775c6f18 100644 --- a/src/lint/linter/xhpast/rules/ArcanistBraceFormattingXHPASTLinterRule.php +++ b/src/lint/linter/xhpast/rules/ArcanistBraceFormattingXHPASTLinterRule.php @@ -24,14 +24,6 @@ final class ArcanistBraceFormattingXHPASTLinterRule if (!$before) { $first = head($tokens); - // Only insert the space if we're after a closing parenthesis. If - // we're in a construct like "else{}", other rules will insert space - // after the 'else' correctly. - $prev = $first->getPrevToken(); - if (!$prev || $prev->getValue() !== ')') { - continue; - } - $this->raiseLintAtToken( $first, pht( diff --git a/src/lint/linter/xhpast/rules/__tests__/brace-formatting/brace-formatting.lint-test b/src/lint/linter/xhpast/rules/__tests__/brace-formatting/brace-formatting.lint-test deleted file mode 100644 index 725773f3..00000000 --- a/src/lint/linter/xhpast/rules/__tests__/brace-formatting/brace-formatting.lint-test +++ /dev/null @@ -1,87 +0,0 @@ -