1
0
Fork 0

* Cleanup code comments

pull/1607/head
msiebeneicher 2015-02-12 10:18:00 +01:00
parent 98de300878
commit 3682a9f5a7
2 changed files with 1 additions and 15 deletions

View File

@ -622,12 +622,6 @@ FOOTER;
}
}
/* RKERNER
* // add target-dir to classmap entries that don't have it
if ($type === 'classmap' && $package !== $mainPackage && $package->getTargetDir() && !is_readable($installPath.'/'.$path)) {
$path = $package->getTargetDir() . '/' . $path;
}
*/
if ($type === 'exclude-from-classmap') {
// first escape user input
$path = sprintf(self::EXCLUDE_PATTERN, preg_quote($path));
@ -644,13 +638,6 @@ FOOTER;
$autoloads[] = empty($installPath) ? $path : preg_quote($installPath) . '/' . $path;
continue;
}
/*
if (empty($installPath)) {
$autoloads[$namespace][] = empty($path) ? '.' : $path;
} else {
$autoloads[$namespace][] = $installPath.'/'.$path;
}
*/
$relativePath = empty($installPath) ? (empty($path) ? '.' : $path) : $installPath.'/'.$path;

View File

@ -54,7 +54,6 @@ class ClassMapGenerator
* @throws \RuntimeException When the path is neither an existing file nor directory
*/
public static function createMap($path, $blacklist = '', IOInterface $io = null, $namespace = null)
// RKERNER: public static function createMap($path, $blacklist = '')
{
if (is_string($path)) {
if (is_file($path)) {