]> khamidou — GitHub mirrors - arcanist.git/commit
Add a linter rule for unary prefix expression spacing
authorJoshua Spence <josh@joshuaspence.com>
Wed, 5 Aug 2015 21:00:32 +0000 (07:00 +1000)
committerJoshua Spence <josh@joshuaspence.com>
Wed, 5 Aug 2015 21:08:55 +0000 (07:08 +1000)
commitc8f0deffab602bc3177c4e262d198f92c43818ff
tree971d165285e75eaa39f2ff72ea4f3885397ee71a
parent1e75302e77030b197ab8ac13e84458cf0a246635
Add a linter rule for unary prefix expression spacing

Summary: Add a linter rule to ensure that there is no space between the operator and the operand in a unary prefix expression.

Test Plan: Added test cases.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D13797
src/__phutil_library_map__.php
src/lint/linter/__tests__/xhpast/exit-expression.lint-test
src/lint/linter/__tests__/xhpast/unary-prefix-expression-spacing.lint-test [new file with mode: 0644]
src/lint/linter/xhpast/rules/ArcanistUnaryPrefixExpressionSpacingXHPASTLinterRule.php [new file with mode: 0644]