fix CS
parent
883a179dec
commit
04a18c72ba
|
@ -267,13 +267,12 @@ EOF;
|
||||||
$classMap = $this->addClassMapCode($filesystem, $basePath, $vendorPath, $dir, $blacklist, null, null, $classMap, $ambiguousClasses);
|
$classMap = $this->addClassMapCode($filesystem, $basePath, $vendorPath, $dir, $blacklist, null, null, $classMap, $ambiguousClasses);
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach($ambiguousClasses as $className => $ambigiousPaths)
|
foreach ($ambiguousClasses as $className => $ambigiousPaths) {
|
||||||
{
|
|
||||||
$cleanPath = str_replace(array('$vendorDir . \'', "',\n"), array($vendorPath, ''), $classMap[$className]);
|
$cleanPath = str_replace(array('$vendorDir . \'', "',\n"), array($vendorPath, ''), $classMap[$className]);
|
||||||
|
|
||||||
$this->io->writeError(
|
$this->io->writeError(
|
||||||
'<warning>Warning: Ambiguous class resolution, "'.$className.'"'.
|
'<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($ambigiousPaths) + 1) .'x: in "'.$cleanPath.'" and "'. implode('", "', $ambigiousPaths) .'", the first will be used.</warning>'
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue