Skip to content
Snippets Groups Projects
Commit aed8015f authored by Matthew Grasmick's avatar Matthew Grasmick
Browse files

Merge branch '3.0.x' into '3.0.x'

You gotta optimize your autoloader, yo.

See merge request !1033
parents be6b10a7 010f2b09
No related branches found
No related tags found
No related merge requests found
Pipeline #120888 passed with warnings
......@@ -100,6 +100,7 @@ class ExtensionUpdateStageTest extends AutomaticUpdatesExtensionsKernelTestBase
[
'update',
'--with-all-dependencies',
'--optimize-autoloader',
'drupal/my_module:9.8.1',
'drupal/my_dev_module:1.2.0-alpha1@alpha',
],
......
......@@ -456,7 +456,7 @@ abstract class StageBase implements LoggerAwareInterface {
// If constraints were changed, update those packages.
if ($runtime || $dev) {
$command = array_merge(['update', '--with-all-dependencies'], $runtime, $dev);
$command = array_merge(['update', '--with-all-dependencies', '--optimize-autoloader'], $runtime, $dev);
$do_stage($command);
}
$this->dispatch(new PostRequireEvent($this, $runtime, $dev));
......
......@@ -102,6 +102,7 @@ class UpdateStageTest extends AutomaticUpdatesKernelTestBase {
[
'update',
'--with-all-dependencies',
'--optimize-autoloader',
'drupal/core-recommended:9.8.1',
'drupal/core-dev:9.8.1',
],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment