Skip to content
Snippets Groups Projects

Issue #3368741: Drush build test symlinks drush and only passes because it loads classes not in build test project

Merged Issue #3368741: Drush build test symlinks drush and only passes because it loads classes not in build test project
3 unresolved threads
3 unresolved threads
1 file
+ 8
0
Compare changes
  • Side-by-side
  • Inline
@@ -437,6 +437,14 @@ END;
],
'autoload' => $package_info['autoload'] ?? [],
];
if (isset($package_info['require'])) {
foreach (array_keys($package_info['require']) as $package_name) {
if (str_starts_with($package_name, 'symfony/polyfill-')) {
unset($package_info['require'][$package_name]);
}
}
$packages[$name][$version]['require'] = $package_info['require'];
}
// Composer plugins are loaded and activated as early as possible, and
// they must have a `class` key defined in their `extra` section, along
// with a dependency on `composer-plugin-api` (plus any other real
Loading