mirror of
https://we.phorge.it/source/arcanist.git
synced 2025-02-22 11:39:03 +01: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(
|
||||
$wtoken,
|
||||
self::LINT_BINARY_EXPRESSION_SPACING,
|
||||
self::LINT_CONCATENATION_OPERATOR,
|
||||
'Convention: no spaces around "." (string concatenation) operator.',
|
||||
'');
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue