Page MenuHomePhabricator

Make Diviner namespace aware
Open, LowPublic

Description

Diviner has problems generating documentation for namespaced projects with same class names such as;

project/view.php
<?php
namespace Project;

class View
{
    ...
}

...

project/sub/view.php
<?php
namespace Project\Sub;

class View extends \Project\View
{
    ...
}

Related Objects

StatusAssignedTask
Openjoshuaspence
Resolvedepriestley

Event Timeline

I'm allowing duplicate symbols (hardcore rolleyes) and building "context" (namespace or similar) into the new Diviner. I'm not 100% sure XHPAST parses namespace stuff correctly so it might be a while before whatever we ship with for PHP gets this right, but there should be no fundamental technical barriers.

chad changed the visibility from "All Users" to "Public (No Login Required)".Jul 3 2015, 4:19 AM