public static function stripPHPFunction()

in src/lint/linter/xhpast/ArcanistXHPASTLintNamingHook.php [114:138]


  public static function stripPHPFunction($symbol) {
    switch ($symbol) {
      case '__assign_concat':
      case '__call':
      case '__callStatic':
      case '__clone':
      case '__concat':
      case '__construct':
      case '__debugInfo':
      case '__destruct':
      case '__get':
      case '__invoke':
      case '__isset':
      case '__set':
      case '__set_state':
      case '__sleep':
      case '__toString':
      case '__unset':
      case '__wakeup':
        return preg_replace('/^__/', '', $symbol);

      default:
        return $symbol;
    }
  }