]> khamidou — GitHub mirrors - arcanist.git/commit
Allow "arc liberate" / PhutilModuleLinter to ignore declared external symbols
authorepriestley <git@epriestley.com>
Thu, 12 Jan 2012 21:51:35 +0000 (13:51 -0800)
committerepriestley <git@epriestley.com>
Thu, 12 Jan 2012 23:19:43 +0000 (15:19 -0800)
commit93db641a3eca204cec584a3f6e0d335ce6948127
treec2d52df2ee6d2a800dd41f1e452d11301cdd64ba
parent6dfa45a8b304e393f86865fc00b813a47c22e7a0
Allow "arc liberate" / PhutilModuleLinter to ignore declared external symbols

Summary:
See T762. Currently, some externals functions (recaptcha, xhprof) raise errors
and prevent clean runs of "arc liberate" without --force-update or a forced
cache.

Allow such symbols to be declared:

  /**
   * @phutil-external-symbol function some_function
   */

This prevents them from being treated as dependencies.

Test Plan: Ran "arc liberate src/ --all" on Phabricator, fixed all the warnings
by adding @phutil-external-symbol declarations.

Reviewers: btrahan, jungejason

Reviewed By: jungejason

CC: aran, jungejason
Maniphest Tasks: T762

Differential Revision: https://secure.phabricator.com/D1381
scripts/phutil_analyzer.php