From e6e317db27ce40a7927116660f1f3175f162fb11 Mon Sep 17 00:00:00 2001 From: Joshua Spence Date: Thu, 25 Sep 2014 12:58:37 +1000 Subject: [PATCH] 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 --- src/lint/linter/ArcanistXHPASTLinter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.', ''); } -- 2.43.0