Example #1
0
 public function migrate()
 {
     $this->reporter->start();
     // functions called here should be idempotent
     $this->migrate_1_7_0();
     $this->reporter->end();
 }
Example #2
0
 protected function startMessage()
 {
     $this->nbError = 0;
     $this->nbOk = 0;
     $this->nbWarning = 0;
     $this->nbNotice = 0;
     $this->reporter->start();
 }
 /**
  * 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);
 }
Example #4
0
 protected function startMessage()
 {
     $this->reporter->start();
 }