Skip to content

FileLocator->getNamespaces with parameter #1866

Description

@MGatner

I'm working on an updated MigrationRunner that uses FileLocator to support external PSR4 sources. The getNamespaces($prefix) method flattens the return from $autoloader->getNamespace($prefix) to a single path, when it is actually an array of paths thus potentially causing getNamespaces() to fail to search some valid paths. AFAIK this method is only used by locateFile() so is probably safe to rewrite, but seeking advice first.

Activity

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