1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-09-20 08:58:55 +02:00

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
This commit is contained in:
Joshua Spence 2014-09-25 12:58:37 +10:00
parent be428e3207
commit e6e317db27

View file

@ -2140,7 +2140,7 @@ final class ArcanistXHPASTLinter extends ArcanistBaseXHPASTLinter {
$this->raiseLintAtToken( $this->raiseLintAtToken(
$wtoken, $wtoken,
self::LINT_BINARY_EXPRESSION_SPACING, self::LINT_CONCATENATION_OPERATOR,
'Convention: no spaces around "." (string concatenation) operator.', 'Convention: no spaces around "." (string concatenation) operator.',
''); '');
} }