]> khamidou — GitHub mirrors - arcanist.git/commit
Find classes used in call_user_func()
authorJakub Vrana <jakub@vrana.cz>
Wed, 5 Jun 2013 21:38:15 +0000 (14:38 -0700)
committerJakub Vrana <jakub@vrana.cz>
Thu, 6 Jun 2013 02:19:06 +0000 (19:19 -0700)
commitf3e32d83660b794410180eeec685a731db49e6c3
tree9da5e3b6670b0a13e5e6886fbdf7c1d6ec7e2d9b
parent5336f4bcf0ba69b93dbd74057c9ace6efe50a60a
Find classes used in call_user_func()

Summary:
Also fix false positive for call_user_func('C::f').
Also fix false positive for call_user_func("$f").
Also centralize handling of magic classes.

Test Plan:
  call_user_func("$f");
  call_user_func('C::f');
  call_user_func(array('C', 'f'));
  call_user_func(array(1 => 'f', 0 => 'C'));

Linted Phabricator.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin
Differential Revision: https://secure.phabricator.com/D6137
scripts/lib/PhutilLibraryMapBuilder.php
scripts/phutil_symbols.php