private function getProjectConfig() { $composerJsonPath = $this->projectDir . '/composer.json'; if (!is_writable($composerJsonPath)) { return []; } return json_decode(file_get_contents($composerJsonPath), true); }