1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-25 16:22:43 +01:00
phorge-phorge/scripts
Eric Stern 14f070a0af Skip anon functions in symbol generation script
Summary:
Filters closures out of symbol generator script, per @epriestley's
comment in T4334

Test Plan:
Before:
  eric@eric-dev ~/phabricator/scripts/symbols: echo 'closure.php' | ./generate_php_symbols.php
    function php  /closure.php
   d function php 10 /closure.php
    function php  /closure.php
   a class php 3 /closure.php
  a b method php 4 /closure.php

After:
  eric@eric-dev ~/phabricator/scripts/symbols: echo 'closure.php' | ./generate_php_symbols.php
   d function php 10 /closure.php
   a class php 3 /closure.php
  a b method php 4 /closure.php

eric@eric-dev ~/phabricator/scripts/symbols: cat closure.php
  <?php

  class a {
    function b() {
      $c = function() { return 1; };
      $c();
    }
  }

  function d() {
    return 2;
  }
  $e = function() {
    return 3;
  };

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley

CC: epriestley, Korvin, aran

Differential Revision: https://secure.phabricator.com/D8054
2014-01-23 17:01:11 -08:00
..
aphront Delete license headers from files 2012-11-05 11:16:51 -08:00
cache Update manage_cache.php 2013-11-21 12:36:00 -08:00
calendar Increment year. 2013-01-03 05:45:08 -08:00
celerity Drive all Celerity operations from the new map 2013-12-31 18:04:25 -08:00
daemon Fix typo 2014-01-15 10:03:50 -08:00
differential Add DifferentialDiffQuery and change most callsites 2013-07-01 12:38:42 -07:00
diviner Make all bin/* scripts locate their workflows dynamically 2013-12-27 13:15:48 -08:00
drydock Make all bin/* scripts locate their workflows dynamically 2013-12-27 13:15:48 -08:00
fact Make all bin/* scripts locate their workflows dynamically 2013-12-27 13:15:48 -08:00
files Make all bin/* scripts locate their workflows dynamically 2013-12-27 13:15:48 -08:00
fpm Delete license headers from files 2012-11-05 11:16:51 -08:00
install Enable Evil^H^H^H^HJSON for PHP on Ubuntu 13.10 2014-01-02 11:59:12 -08:00
lipsum Make all bin/* scripts locate their workflows dynamically 2013-12-27 13:15:48 -08:00
mail Make all bin/* scripts locate their workflows dynamically 2013-12-27 13:15:48 -08:00
profile Delete license headers from files 2012-11-05 11:16:51 -08:00
repository Changed \$callsign to \$argv[1] on commit_hook.php since is undefined causing an error when trying to report an error. 2014-01-09 10:36:01 -08:00
search Make all bin/* scripts locate their workflows dynamically 2013-12-27 13:15:48 -08:00
setup Begin construction of bin/celerity map 2013-12-31 18:02:41 -08:00
sql Make all bin/* scripts locate their workflows dynamically 2013-12-27 13:15:48 -08:00
ssh Provide a more helpful message if a user connects via raw SSH 2013-12-30 13:21:56 -08:00
symbols Skip anon functions in symbol generation script 2014-01-23 17:01:11 -08:00
user Warn users about using bin/accountadmin for first time setup 2013-12-02 11:25:42 -08:00
util Provide 'bin/cache', for managing caches 2013-05-20 10:16:35 -07:00
__init_script__.php Consolidate environmental initialization 2012-12-25 06:15:28 -08:00
celerity_mapper.php Drive all Celerity operations from the new map 2013-12-31 18:04:25 -08:00