1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-10-25 01:58:49 +02:00
phorge-arcanist/src/lint/linter/xhpast
Kiyoto Tamura 6dfa45a8b3 Stop XHPASTLinter from eating a newline after else
Summary:
If the else clause does not have braces (one-liner), XHPASTLinter eats the
newline and brings the body statement of the else clause to the same line.

Test Plan: added a new test to space-after-control-keywords.lint-test

Reviewers: epriestley

CC: aran, epriestley, kiyoto

Differential Revision: https://secure.phabricator.com/D1367
2012-01-11 18:03:56 -08:00
..
__tests__ Stop XHPASTLinter from eating a newline after else 2012-01-11 18:03:56 -08:00
naminghook Allow XHPAST lint name rules to be overridden through configuration 2011-08-31 11:54:24 -07:00
__init__.php Remove XHPAST from arcanist. 2011-01-09 22:13:30 -08:00
ArcanistXHPASTLinter.php Stop XHPASTLinter from eating a newline after else 2012-01-11 18:03:56 -08:00