]> khamidou — GitHub mirrors - arcanist.git/commit
Add a linter rule for spacing before opening parenthesis in function calls
authorJoshua Spence <josh@joshuaspence.com>
Wed, 5 Aug 2015 20:57:46 +0000 (06:57 +1000)
committerJoshua Spence <josh@joshuaspence.com>
Wed, 5 Aug 2015 20:58:22 +0000 (06:58 +1000)
commit1e75302e77030b197ab8ac13e84458cf0a246635
tree90e8cdd3a6cbab4701370e7350a1e9b7d00c033f
parentbf4e7d4ca89a9ab6eb17f5dba4d3f3b6d6dc4c08
Add a linter rule for spacing before opening parenthesis in function calls

Summary: Repurpose `ArcanistClosingCallParenthesesXHPASTLinterRule` (and rename it to `ArcanistCallParenthesesXHPASTLinterRule`) to ensure that there is no spacing before opening parenthesis in function calls.

Test Plan: Added test case.

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D13796
src/__phutil_library_map__.php
src/lint/linter/__tests__/xhpast/call-parens-hug-closing.lint-test
src/lint/linter/xhpast/rules/ArcanistCallParenthesesXHPASTLinterRule.php [moved from src/lint/linter/xhpast/rules/ArcanistClosingCallParenthesesXHPASTLinterRule.php with 66% similarity]