]> git.pld-linux.org Git - packages/composer.git/blame - update-memory-limit.patch
Requires cli for online test
[packages/composer.git] / update-memory-limit.patch
CommitLineData
048c2357
ER
1update command is very memory hungry
2and there's no good solution for that
3as the memory usage is unexpected, just disable it
4
5https://github.com/composer/composer/issues/1898
6
1fe17f86
ER
7--- composer-1.0.0-14.alpha11/src/Composer/Command/UpdateCommand.php~ 2015-11-14 18:21:07.000000000 +0200
8+++ composer-1.0.0-14.alpha11/src/Composer/Command/UpdateCommand.php 2015-11-25 17:46:18.524578082 +0200
9@@ -75,6 +75,8 @@
048c2357
ER
10
11 protected function execute(InputInterface $input, OutputInterface $output)
12 {
13+ ini_set('memory_limit', -1);
14+
1fe17f86 15 $io = $this->getIO();
048c2357 16 if ($input->getOption('no-custom-installers')) {
1fe17f86 17 $io->writeError('<warning>You are using the deprecated option "no-custom-installers". Use "no-plugins" instead.</warning>');
This page took 0.100291 seconds and 4 git commands to generate.