public function setup() { $this->_runner->getUtilHelper()->softUnlink($this->getIntegrationPath() . '/.kmig.phpmig.data'); if (parent::setup() && KmsCi_Kmig_IntegrationHelper::getInstance($this)->setup()) { return true; } else { return false; } }
public function setup() { if (parent::setup()) { if (!$this->_runner->isArg('migrations-self-test')) { // delete the migrations cache file - so it will start everything from scratch each time $this->_runner->getUtilHelper()->softUnlink($this->getIntegrationPath() . '/.kmig.phpmig.data'); } return KmsCi_Kmig_IntegrationHelper::getInstance($this)->setup(); } else { return false; } }