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:
parent
be428e3207
commit
e6e317db27
1 changed files with 1 additions and 1 deletions
|
@ -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.',
|
||||||
'');
|
'');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue