Skip to content

Go to Definition doesn't work with zend 1 classes #911

Closed

Description

@afranioce

I working with a application with zend framework 1

working if the class has the same name of file, even without the namespace, but class with name different like Zend_Controller_Action and path is Zend/Controller/Action.php even without the namespace

return this error

Error from Phpactor: Could not find source with "Zend_Controller_Action", Word "Zend_Controller_Action" could not be resolved to a class

Activity

  1. dantleech commented on Mar 11, 2020

    @dantleech
    Collaborator

    Yes -- as of now Phpactor will not work with "old" class names (as far as I an aware) and requires a 1-1 correlation between class name and file name.

    The next release however will support an indexer - which will happily discover all class names.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions