]> khamidou — GitHub mirrors - arcanist.git/commit
Fix brace formatting linter rule
authorJoshua Spence <josh@joshuaspence.com>
Fri, 17 Jul 2015 06:40:45 +0000 (16:40 +1000)
committerJoshua Spence <josh@joshuaspence.com>
Fri, 17 Jul 2015 06:40:46 +0000 (16:40 +1000)
commit58302432cc5fdc3c191ef20bf104b6f803b6731d
treeb8dd8602c3fe507a1f143013a7c20bba1b736d99
parent3793998df43bbb5170ceb7350263d017aae3985c
Fix brace formatting linter rule

Summary: Fixes T8847.

Test Plan:
Ran `arc lint` on a test file:

```lang=php
<?php

if ($x) {
  echo 'foo';
}else {
  echo 'bar';
}
```

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: epriestley, Korvin

Maniphest Tasks: T8847

Differential Revision: https://secure.phabricator.com/D13633
src/lint/linter/__tests__/xhpast/creative-brace-use.lint-test
src/lint/linter/xhpast/rules/ArcanistBraceFormattingXHPASTLinterRule.php