Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit daf0498

Browse files
committed
fixed "link" to Contracts packages
1 parent 828e5a4 commit daf0498

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

link

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,11 @@ if (!is_dir("$pathToProject/vendor/symfony")) {
3535
$sfPackages = array('symfony/symfony' => __DIR__);
3636

3737
$filesystem = new Filesystem();
38-
$braces = array('Bundle', 'Bridge', 'Component', 'Component/Security');
38+
$braces = array('Bundle', 'Bridge', 'Component', 'Component/Security', 'Contracts');
3939
$directories = array_merge(...array_values(array_map(function ($part) {
4040
return glob(__DIR__.'/src/Symfony/'.$part.'/*', GLOB_ONLYDIR | GLOB_NOSORT);
4141
}, $braces)));
4242

43-
$directories[] = __DIR__.'/src/Symfony/Contracts';
44-
4543
foreach ($directories as $dir) {
4644
if ($filesystem->exists($composer = "$dir/composer.json")) {
4745
$sfPackages[json_decode(file_get_contents($composer))->name] = $dir;

0 commit comments

Comments
 (0)