]> khamidou — GitHub mirrors - arcanist.git/commit
Add a linter rule for unary postfix expression spacing
authorJoshua Spence <josh@joshuaspence.com>
Thu, 6 Aug 2015 01:38:14 +0000 (11:38 +1000)
committerJoshua Spence <josh@joshuaspence.com>
Thu, 6 Aug 2015 01:40:12 +0000 (11:40 +1000)
commit968f4ae5d73e41ad79be70c748d88390ab9be8e7
tree9257ce358735e57c91cf92bdb8f063dde82c9292
parent986f5d82d0739667d1436027691ceb1031a114cf
Add a linter rule for unary postfix expression spacing

Summary: Unary postfix expressions should not have a space before the operator.

Test Plan: Added test case.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin

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