Skip to content
Permalink
Browse files

appending root of Contracts dir (where composer.json is located)

  • Loading branch information...
oleg-andreyev committed Jul 31, 2018
1 parent a31f4aa commit 7c124c49073e113ef1e8182275ebdaa2313fbf5e
Showing with 2 additions and 0 deletions.
  1. +2 −0 link
2 link
@@ -42,6 +42,8 @@ $directories = array_merge(...array_values(array_map(function ($part) {
return glob(__DIR__.'/src/Symfony/'.$part.'/*', GLOB_ONLYDIR | GLOB_NOSORT);
}, $braces)));
$directories[] = __DIR__.'/src/Symfony/Contracts';
foreach ($directories as $dir) {
if ($filesystem->exists($composer = "$dir/composer.json")) {
$sfPackages[json_decode(file_get_contents($composer))->name] = $dir;

0 comments on commit 7c124c4

Please sign in to comment.
You can’t perform that action at this time.