1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 16:42:57 +00:00

Add psr-4 stuff in a few more places.

This commit is contained in:
Andreas Hennings 2013-12-14 16:28:27 +01:00
parent b62fa2bc1c
commit 39c09d5192
5 changed files with 20 additions and 1 deletions

View file

@ -303,6 +303,10 @@ EOT
foreach ($autoloads as $name => $path) {
$output->writeln(($name ?: '*') . ' => ' . (is_array($path) ? implode(', ', $path) : ($path ?: '.')));
}
} elseif ($type === 'psr-4') {
foreach ($autoloads as $name => $path) {
$output->writeln(($name ?: '*') . ' => ' . (is_array($path) ? implode(', ', $path) : ($path ?: '.')));
}
} elseif ($type === 'classmap') {
$output->writeln(implode(', ', $autoloads));
}