main
Wataru Kurashima 2 years ago committed by GitHub
parent 128a2648fb
commit 10f8edb816
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -356,12 +356,12 @@ EOF;
}
}
foreach ($ambiguousClasses as $className => $ambigiousPaths) {
foreach ($ambiguousClasses as $className => $ambiguousPaths) {
$cleanPath = str_replace(array('$vendorDir . \'', '$baseDir . \'', "',\n"), array($vendorPath, $basePath, ''), $classMap[$className]);
$this->io->writeError(
'<warning>Warning: Ambiguous class resolution, "'.$className.'"'.
' was found '. (count($ambigiousPaths) + 1) .'x: in "'.$cleanPath.'" and "'. implode('", "', $ambigiousPaths) .'", the first will be used.</warning>'
' was found '. (count($ambiguousPaths) + 1) .'x: in "'.$cleanPath.'" and "'. implode('", "', $ambiguousPaths) .'", the first will be used.</warning>'
);
}

@ -414,7 +414,7 @@ class PoolBuilder
}
}
// if propogateUpdate is false we are loading a fixed or locked package, root aliases do not apply as they are
// if propagateUpdate is false we are loading a fixed or locked package, root aliases do not apply as they are
// manually loaded as separate packages in this case
if ($propagateUpdate && isset($this->rootAliases[$name][$package->getVersion()])) {
$alias = $this->rootAliases[$name][$package->getVersion()];

@ -176,7 +176,7 @@ class Filesystem
* @param string $directory
* @param bool $fallbackToPhp
*
* @return bool|null Returns null, when no edge case was hit. Otherwise a bool whether removal was successfull
* @return bool|null Returns null, when no edge case was hit. Otherwise a bool whether removal was successful
*/
private function removeEdgeCases($directory, $fallbackToPhp = true)
{

Loading…
Cancel
Save