private function setComposerVersion($semver)
    {
        $this->composerJson['version'] = $semver->getVersion();
        file_put_contents(
            'composer.json',
            json_encode($this->composerJson, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES)
        );
    }