Page MenuHomePhabricator

`phutil_symbols.php` does not correctly handle static method calls
Closed, ResolvedPublic

Description

phutil_symbols.php does not correctly handle static method calls. I believe that a static method call can only happen on a class, not an interface.

test.php
<?php

Foo::bar();
> ./scripts/phutil_symbols.php test.php 
{
  "have": [],
  "need": {
    "class\/interface": {
      "Foo": 7
    }
  },
  "xmap": []
}

Revisions and Commits

Restricted Differential Revision

Event Timeline

joshuaspence raised the priority of this task from to Low.
joshuaspence updated the task description. (Show Details)
joshuaspence added a project: libphutil.
joshuaspence added a subscriber: joshuaspence.
joshuaspence added a revision: Restricted Differential Revision.Jan 2 2015, 1:03 AM
joshuaspence added a commit: Restricted Diffusion Commit.

Closed by commit rPHU20446fc6b6ac.