Path::isLocal for stream wrappers like phar://
King2500 opened this issue · 0 comments
King2500 commented
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?