]> khamidou — GitHub mirrors - arcanist.git/commit
Add a linter rule for object operator spacing
authorJoshua Spence <josh@joshuaspence.com>
Wed, 5 Aug 2015 21:14:38 +0000 (07:14 +1000)
committerJoshua Spence <josh@joshuaspence.com>
Wed, 5 Aug 2015 21:14:38 +0000 (07:14 +1000)
commit986f5d82d0739667d1436027691ceb1031a114cf
treeb64e3d0ab708ffd6f6fcfbb2c01d43f8efd2cda3
parentc8f0deffab602bc3177c4e262d198f92c43818ff
Add a linter rule for object operator spacing

Summary: Add a linter rule to check that there is no whitespace surrounding the object operator, `->`.

Test Plan: Added test case.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D13798
src/__phutil_library_map__.php
src/lint/linter/__tests__/xhpast/object-operating-spacing.lint-test [new file with mode: 0644]
src/lint/linter/xhpast/rules/ArcanistObjectOperatorSpacingXHPASTLinterRule.php [new file with mode: 0644]