private function saveProjectConfig(array $config)
{
$composerJsonPath = $this->projectDir . '/composer.json';
$this->fs->dumpFile($composerJsonPath, json_encode($config, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES) . "\n");
$this->syncComposerLockFile();
}