Skip to content

Commit b61e6df

Browse files
committed
minor #2839 Fix link script by adding Bridges support (Kocal)
This PR was merged into the 2.x branch. Discussion ---------- Fix `link` script by adding Bridges support | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Docs? | no <!-- required for new features --> | Issues | Fix #... <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead --> | License | MIT Spotted while working with `@Valmonzo`, `link` didn't work for Map Bridges :) <!-- Replace this notice by a description of your feature/bugfix. This will help reviewers and should be a good start for the documentation. Additionally (see https://symfony.com/releases): - Always add tests and ensure they pass. - For new features, provide some code snippets to help understand usage. - Features and deprecations must be submitted against branch main. - Update/add documentation as required (we can help!) - Changelog entry should follow https://symfony.com/doc/current/contributing/code/conventions.html#writing-a-changelog-entry - Never break backward compatibility (see https://symfony.com/bc). --> Commits ------- 7e305cc Fix `link` script by adding Bridges support
2 parents 7292e1a + 7e305cc commit b61e6df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

link

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ if (!is_dir("$pathToProject/vendor/symfony")) {
3838
$sfPackages = array();
3939

4040
$filesystem = new Filesystem();
41-
$directories = glob(__DIR__.'/src/*', GLOB_ONLYDIR | GLOB_NOSORT);
41+
$directories = [...glob(__DIR__.'/src/*', GLOB_ONLYDIR | GLOB_NOSORT), ...glob(__DIR__.'/src/*/src/Bridge/*', GLOB_ONLYDIR | GLOB_NOSORT)];
4242

4343
foreach ($directories as $dir) {
4444
if ($filesystem->exists($composer = "$dir/composer.json")) {

0 commit comments

Comments
 (0)