]> khamidou — GitHub mirrors - arcanist.git/commit
Add a lint rule for spaces before the closing paren of a function/method call
authorepriestley <git@epriestley.com>
Tue, 19 Feb 2013 21:50:13 +0000 (13:50 -0800)
committerepriestley <git@epriestley.com>
Tue, 19 Feb 2013 21:50:13 +0000 (13:50 -0800)
commit157184e01d6fb1a6d23654814a688ef361a4ecd0
treed2becf7d8ef88382e2ce01f94a45320e9d57d6d5
parenteda3fc2ab44f93673f23e19bb88ef7b69cbf861c
Add a lint rule for spaces before the closing paren of a function/method call

Summary: This is technically documented, but not currently enforced and we aren't consistent about it in the codebase.

Test Plan: See D5002.

Reviewers: chad, vrana

Reviewed By: chad

CC: aran
Differential Revision: https://secure.phabricator.com/D5003
src/lint/linter/ArcanistXHPASTLinter.php
src/lint/linter/__tests__/xhpast/call-parens-hug-closing.lint-test [new file with mode: 0644]
src/lint/linter/__tests__/xhpast/decl-parens-hug-closing.lint-test [new file with mode: 0644]