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:
commit
f531ef57e0
2
link
2
link
@ -35,7 +35,7 @@ if (!is_dir("$pathToProject/vendor/symfony")) {
|
|||||||
$sfPackages = array('symfony/symfony' => __DIR__);
|
$sfPackages = array('symfony/symfony' => __DIR__);
|
||||||
|
|
||||||
$filesystem = new Filesystem();
|
$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) {
|
$directories = array_merge(...array_values(array_map(function ($part) {
|
||||||
return glob(__DIR__.'/src/Symfony/'.$part.'/*', GLOB_ONLYDIR | GLOB_NOSORT);
|
return glob(__DIR__.'/src/Symfony/'.$part.'/*', GLOB_ONLYDIR | GLOB_NOSORT);
|
||||||
}, $braces)));
|
}, $braces)));
|
||||||
|
Reference in New Issue
Block a user