public function update(InstalledRepositoryInterface $repo, PackageInterface $initial, PackageInterface $target)
    {
        parent::update($repo, $initial, $target);

        $ns = static::primaryNamespace($initial);
        $this->updateConfig($ns, null);

        $path = $this->getInstallPath($target);
        $ns = static::primaryNamespace($target);
        $this->updateConfig($ns, $path);
    }
public function update(InstalledRepositoryInterface $repo, PackageInterface $initial, PackageInterface $target)
    {
        parent::update($repo, $initial, $target);

        $ns = static::primaryNamespace($initial);
        $this->updateConfig($ns, null);

        $path = $this->getInstallPath($target);
        $ns = static::primaryNamespace($target);
        $this->updateConfig($ns, $path);
    }
public function update ( InstalledRepositoryInterface $ repo , PackageInterface $ initial , PackageInterface $ target ) { parent :: update ( $ repo , $ initial , $ target ) ; $ ns = static :: primaryNamespace ( $ initial ) ; $ this -> updateConfig ( $ ns , null ) ; $ path = $ this -> getInstallPath ( $ target ) ; $ ns = static :: primaryNamespace ( $ target ) ; $ this -> updateConfig ( $ ns , $ path ) ; }
Updates specific plugin.

After the plugin is installed, app's `skinny-plugins.php` config file is updated with
plugin namespace to path mapping.

@param \Composer\Repository\InstalledRepositoryInterface $repo Repository in which to check.
@param \Composer\Package\PackageInterface $initial Already installed package version.
@param \Composer\Package\PackageInterface $target Updated version.

@deprecated superceeded by the post-autoload-dump hook

@throws \InvalidArgumentException If $initial package is not installed.
Updates specific plugin .