From: Joshua Spence Date: Thu, 25 Sep 2014 02:58:37 +0000 (+1000) Subject: Fix incorrect linter code being raised X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=e6e317db27ce40a7927116660f1f3175f162fb11;p=arcanist.git Fix incorrect linter code being raised Summary: `ArcanistXHPASTLinter::lintSpaceAroundConcatenationOperators` should raise `LINT_CONCATENATION_OPERATOR`, not `LINT_BINARY_EXPRESSION_SPACING`. Test Plan: N/A Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: epriestley, Korvin Differential Revision: https://secure.phabricator.com/D10553 --- diff --git a/src/lint/linter/ArcanistXHPASTLinter.php b/src/lint/linter/ArcanistXHPASTLinter.php index 5d443745..b059ddca 100644 --- a/src/lint/linter/ArcanistXHPASTLinter.php +++ b/src/lint/linter/ArcanistXHPASTLinter.php @@ -2140,7 +2140,7 @@ final class ArcanistXHPASTLinter extends ArcanistBaseXHPASTLinter { $this->raiseLintAtToken( $wtoken, - self::LINT_BINARY_EXPRESSION_SPACING, + self::LINT_CONCATENATION_OPERATOR, 'Convention: no spaces around "." (string concatenation) operator.', ''); }