Skip to content

Path::isLocal for stream wrappers like phar:// #9

@King2500

Description

@King2500

Theoretical question:

I think ...

Path::isLocal('phar://C:/Documents/projects/my-project.phar/composer.json');

... returns false.

Does that make sense?

The basic question here is:
How is "local" defined? Are stream wrappers to local files considered local or not?

@webmozart what do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions