minor #33576 [DX] Fix "link" to sub-contracts packages (yceruto)

This PR was merged into the 4.3 branch.

Discussion
----------

[DX] Fix "link" to sub-contracts packages

| Q             | A
| ------------- | ---
| Branch?       | 4.3
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | -
| License       | MIT
| Doc PR        | -

pending update after split in one package per sub-contracts https://github.com/symfony/symfony/pull/31571

Commits
-------

3470f5b fixed "link" to Contracts packages
This commit is contained in:
Yonel Ceruto 2019-09-13 13:12:35 -04:00
commit f531ef57e0

2
link
View File

@ -35,7 +35,7 @@ if (!is_dir("$pathToProject/vendor/symfony")) {
$sfPackages = array('symfony/symfony' => __DIR__);
$filesystem = new Filesystem();
$braces = array('Bundle', 'Bridge', 'Component', 'Component/Security');
$braces = array('Bundle', 'Bridge', 'Component', 'Component/Security', 'Contracts');
$directories = array_merge(...array_values(array_map(function ($part) {
return glob(__DIR__.'/src/Symfony/'.$part.'/*', GLOB_ONLYDIR | GLOB_NOSORT);
}, $braces)));