protected function _runInitTask() { $initTask = new sfPhpunitInitTask($this->dispatcher, $this->formatter); $initTask->run(array(), array()); // '--overwrite' => $this->_isOverwrite(), // '--verbose' => $this->_isVerbose())); }
/** * Listen for event: command.post_command * * @param sfEvent $event */ public function postInstall(sfEvent $event) { $initTask = new sfPhpunitInitTask($this->_getProjectConfiguration()->getEventDispatcher(), new sfAnsiColorFormatter()); $initTask->run(); }