mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Add comment
This commit is contained in:
parent
2e40f5f586
commit
0f9128a7d2
1 changed files with 1 additions and 0 deletions
|
@ -290,6 +290,7 @@ class InstallerTest extends TestCase
|
|||
continue;
|
||||
}
|
||||
|
||||
// Change paths like file://foobar to file:///path/to/fixtures
|
||||
if (preg_match('{^file://[^/]}', $repo['url'])) {
|
||||
$repo['url'] = "file://${fixturesDir}/" . substr($repo['url'], 7);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue