PHP 8 compatibility (curly brace string access)
[pharext/pharext] / src / pharext / Installer.php
index d6b3c671e1f6dc97a61f9e0033225952a985478f..7cbe5e921b99f7854215f05bcb4d2b2464e1f5d5 100644 (file)
@@ -220,7 +220,7 @@ class Installer implements Command
                $sudo = isset($this->args->sudo) ? $this->args->sudo : null;
                $type = $this->metadata("type") ?: "extension";
 
-               $activate = new Task\Activate($temp, $files, $type, $this->args->prefix, $this->args{"common-name"}, $sudo);
+               $activate = new Task\Activate($temp, $files, $type, $this->args->prefix, $this->args["common-name"], $sudo);
                if (!$activate->run($this->verbosity())) {
                        $this->info("Extension already activated ...\n");
                }