]> khamidou — GitHub mirrors - arcanist.git/commit
Add lint rules for `=>` (fat arrow) and `.` (string concatenation)
authorepriestley <git@epriestley.com>
Tue, 27 May 2014 23:16:39 +0000 (16:16 -0700)
committerepriestley <git@epriestley.com>
Tue, 27 May 2014 23:16:39 +0000 (16:16 -0700)
commitff97a77786d07f92334caa6f69098a32be726dfe
treef7ec81342dcf0ac5aad2c58e8b684069b939d13d
parent288168640724ea735800ca41516871fc37426e13
Add lint rules for `=>` (fat arrow) and `.` (string concatenation)

Summary: We have coverage for normal binary operators, but not these unusual cases.

Test Plan: Added and executed unit tests.

Reviewers: btrahan, joshuaspence

Reviewed By: joshuaspence

Subscribers: epriestley

Differential Revision: https://secure.phabricator.com/D9314
src/lint/linter/ArcanistXHPASTLinter.php
src/lint/linter/__tests__/xhpast/space-around-more-operators.lint-test [new file with mode: 0644]