/** * Add file to VCS * * @param string $file * @return $this */ protected function addFileToVcs($file) { PreCommit::getVcsAdapter()->addPath($file); return $this; }