public function __construct(Broker $broker, Parser $parser, Registry $registry, NodeScopeResolver $nodeScopeResolver, \PhpParser\PrettyPrinter\Standard $printer, array $analyseExcludes, array $ignoreErrors, string $bootstrapFile = null)
{
$this->broker = $broker;
$this->parser = $parser;
$this->registry = $registry;
$this->nodeScopeResolver = $nodeScopeResolver;
$this->printer = $printer;
$this->analyseExcludes = array_map(function (string $exclude) : string {
return str_replace('/', DIRECTORY_SEPARATOR, $exclude);
}, $analyseExcludes);
$this->ignoreErrors = $ignoreErrors;
$this->bootstrapFile = $bootstrapFile;
}