parent
5c3f6e070d
commit
1f0d012845
|
@ -34,6 +34,7 @@ use Composer\Script\ScriptEvents;
|
||||||
use Composer\Util\PackageSorter;
|
use Composer\Util\PackageSorter;
|
||||||
use Composer\Json\JsonFile;
|
use Composer\Json\JsonFile;
|
||||||
use Composer\Package\Locker;
|
use Composer\Package\Locker;
|
||||||
|
use Symfony\Component\Console\Formatter\OutputFormatter;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Igor Wiedler <igor@wiedler.ch>
|
* @author Igor Wiedler <igor@wiedler.ch>
|
||||||
|
@ -380,6 +381,9 @@ EOF;
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (\count($ambiguousClasses) > 0) {
|
||||||
|
$this->io->writeError('<info>To resolve ambiguity in classes not under your control you can ignore them by path using <href='.OutputFormatter::escape('https://getcomposer.org/doc/04-schema.md#exclude-files-from-classmaps').'>exclude-files-from-classmap</>');
|
||||||
|
}
|
||||||
|
|
||||||
// output PSR violations which are not coming from the vendor dir
|
// output PSR violations which are not coming from the vendor dir
|
||||||
$classMap->clearPsrViolationsByPath($vendorPath);
|
$classMap->clearPsrViolationsByPath($vendorPath);
|
||||||
|
|
Loading…
Reference in New Issue