From 7b43d4909cc1fa8029d21651045857a9df8a2e6a Mon Sep 17 00:00:00 2001 From: Fabian Vogler Date: Fri, 6 Sep 2013 17:44:16 +0200 Subject: [PATCH] Use getPackageBasePath instead of getInstallPath As LibraryInstaller uses getPackageBasePath for uninstall: https://github.com/composer/composer/blob/master/src/Composer/Installer/LibraryInstaller.php#L126 --- doc/articles/custom-installers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/articles/custom-installers.md b/doc/articles/custom-installers.md index daaa2c0e8..a130e4c7c 100644 --- a/doc/articles/custom-installers.md +++ b/doc/articles/custom-installers.md @@ -145,7 +145,7 @@ Example: /** * {@inheritDoc} */ - public function getInstallPath(PackageInterface $package) + public function getPackageBasePath(PackageInterface $package) { $prefix = substr($package->getPrettyName(), 0, 23); if ('phpdocumentor/template-' !== $prefix) {