1
0
Fork 0

Fix 5.3 syntax 😒

pull/10158/head
Jordi Boggiano 2021-10-14 15:44:14 +02:00
parent 759a3a9300
commit 4a7abd79c9
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 1 additions and 1 deletions

View File

@ -332,7 +332,7 @@ EOT
$composer->getEventDispatcher()->setRunScripts(!$input->getOption('no-scripts'));
$this->dependencyResolutionCompleted = false;
$composer->getEventDispatcher()->addListener(InstallerEvents::PRE_OPERATIONS_EXEC, [$this, 'markSolverComplete'], 10000);
$composer->getEventDispatcher()->addListener(InstallerEvents::PRE_OPERATIONS_EXEC, array($this, 'markSolverComplete'), 10000);
if ($input->getOption('dry-run')) {
$rootPackage = $composer->getPackage();