back to dev
[pharext/pharext] / src / pharext / Installer.php
index 4b9f87a674766d7a0a7d4e303e79962b52700ec1..7cbe5e921b99f7854215f05bcb4d2b2464e1f5d5 100644 (file)
@@ -2,8 +2,6 @@
 
 namespace pharext;
 
-use pharext\Cli\Command as CliCommand;
-
 use Phar;
 use SplObjectStorage;
 
@@ -12,7 +10,7 @@ use SplObjectStorage;
  */
 class Installer implements Command
 {
-       use CliCommand;
+       use Cli\Command;
 
        /**
         * Cleanups
@@ -222,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");
                }