src/Config.php
Method __construct
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function __construct(string $rootPath, string $cachePath = null, bool $reclone)
{
if (!\file_exists($configFile = ($this->config['path'] = $rootPath).'/.monorepo')) {
throw new \RuntimeException(\sprintf('Config file "%s" does not exist.', $configFile));
}