]> khamidou — GitHub mirrors - arcanist.git/commit
Warn about strstr() misuse
authorvrana <jakubv@fb.com>
Wed, 15 Aug 2012 20:30:40 +0000 (13:30 -0700)
committervrana <jakubv@fb.com>
Wed, 15 Aug 2012 20:44:41 +0000 (13:44 -0700)
commitcae7631dff44769ecddc224d163ab8b3a186dfda
tree63358e5db545d527b1b2c671181521e1140aa80b
parent34efe49e1252d64103b222a61332b24ad22cac67
Warn about strstr() misuse

Summary: See D3296#1.

Test Plan:
New test.
Linted Arcanist, libphutil, Phabricator repositories, found no false positive and one real positive.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin
Differential Revision: https://secure.phabricator.com/D3297
src/lint/linter/ArcanistXHPASTLinter.php
src/lint/linter/__tests__/xhpast/slowness.lint-test