private function createRepoInExpectedLocation() { mkdir($this->getExpectedDir() . DIRECTORY_SEPARATOR . '.git', 0777, true); file_put_contents($this->getExpectedDir() . DIRECTORY_SEPARATOR . '.git' . DIRECTORY_SEPARATOR . 'HEAD', ' '); }