HomePhabricator

Improve the declaration parentheses linting

Description

Improve the declaration parentheses linting

Summary: Improve ArcanistClosingDeclarationParenthesesXHPASTLinterRule (and rename it to ArcanistDeclarationParenthesesXHPASTLinterRule) to ensure that there is no whitespace before the opening parenthesis of a function/method declaration.

Test Plan: Added test cases.

Reviewers: epriestley, Blessed Reviewers

Reviewed By: epriestley, Blessed Reviewers

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D13675

Details

Provenance
joshuaspenceAuthored on
joshuaspencePushed on Jul 22 2015, 8:45 PM
Reviewer
Blessed Reviewers
Differential Revision
D13675: Improve the declaration parentheses linting
Parents
rARCb7e87e959cf4: Fix typo. Closes T8915.
Branches
Unknown
Tags
Unknown