]> khamidou — GitHub mirrors - arcanist.git/commit
Detect use of "+" on a string literal in PHP.
authorepriestley <epriestley@phabricator.com>
Thu, 10 Mar 2011 23:11:41 +0000 (15:11 -0800)
committerepriestley <epriestley@phabricator.com>
Thu, 10 Mar 2011 23:15:45 +0000 (15:15 -0800)
commitfd19dfaebc74cc0f4927e1acaca7c82c961728f8
treefeffe39ec69627a814a34b100af251434977dabf
parent692d2a8b6f3626bbc2b471f96e6d05ec29f1f1d1
Detect use of "+" on a string literal in PHP.

Summary:
This is realistically always wrong and the author means "."

Test Plan:
lint / unit

Reviewed By: crackerjack
Reviewers: crackerjack, aran
CC: crackerjack
Differential Revision: 68
src/lint/linter/xhpast/ArcanistXHPASTLinter.php
src/lint/linter/xhpast/__tests__/data/wrong-concat-operator.lint-test [new file with mode: 0644]