public function migrate() { $this->reporter->start(); // functions called here should be idempotent $this->migrate_1_7_0(); $this->reporter->end(); }
/** * run the ckecking */ function run() { $this->nbError = 0; $this->nbOk = 0; $this->nbWarning = 0; $this->nbNotice = 0; $this->reporter->start(); try { $this->checkAppPaths(); $this->loadBuildFile(); $this->checkPhpExtensions(); $this->checkPhpSettings(); } catch (Exception $e) { $this->error('cannot.continue', $e->getMessage()); } $results = array('error' => $this->nbError, 'warning' => $this->nbWarning, 'ok' => $this->nbOk, 'notice' => $this->nbNotice); $this->reporter->end($results); }
protected function endMessage() { $this->reporter->end(array('error' => $this->nbError, 'warning' => $this->nbWarning, 'ok' => $this->nbOk, 'notice' => $this->nbNotice)); }
protected function endMessage() { $this->reporter->end(); }