]> khamidou — GitHub mirrors - arcanist.git/commit
Ensure that a space is used after a catch token
authorJoshua Spence <josh@joshuaspence.com>
Wed, 24 Jun 2015 21:09:17 +0000 (07:09 +1000)
committerJoshua Spence <josh@joshuaspence.com>
Wed, 24 Jun 2015 21:09:17 +0000 (07:09 +1000)
commit04d788c79ed496a548d8ca4780d7749e62fe1d37
tree32289de371ea0082f48a27f990462949f38b3901
parentb697a3b80bdcc0dbb2d2c2ca4774227c83ea22a1
Ensure that a space is used after a catch token

Summary: For consistency, a single space should separate `catch` and the following parenthetical expression.

Test Plan: Added test case.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D13389
src/lint/linter/__tests__/xhpast/space-after-control-keywords.lint-test
src/lint/linter/xhpast/rules/ArcanistControlStatementSpacingXHPASTLinterRule.php