From 7c124c49073e113ef1e8182275ebdaa2313fbf5e Mon Sep 17 00:00:00 2001 From: Oleg Andreyev Date: Tue, 31 Jul 2018 21:19:26 +0300 Subject: [PATCH] appending root of Contracts dir (where composer.json is located) --- link | 2 ++ 1 file changed, 2 insertions(+) diff --git a/link b/link index 22d076c9f13f9..b70c06dda7770 100755 --- a/link +++ b/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;