You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Like we've written: For packages in ./vendor/ composer returns an absolute path to packages, the installer returns only a relative path to the base directory when using getInstallPath()
Oh, I understand now. The example uses two packages with package types supported here, so in theory they should do the same thing sans the obvious path differences...
sbuzonas
pushed a commit
to sbuzonas/composer-installers
that referenced
this issue
Jul 27, 2016
There's an inconsistency to composer regarding getInstallPath():
Composer returns the absolute path while the composer installers only return the relative path:
https://github.com/composer/installers/blob/master/src/Composer/Installers/BaseInstaller.php#L36
Thus, this code fails because
symlink
links to a non-existing directory:$t3path is absolute as expected, but $path is relative (e.g. "ext" instead of "/path/to/ext")
The text was updated successfully, but these errors were encountered: