コード例 #1
0
 /**
  * Initializes all the composer commands.
  *
  * @return Command[] An array of default Command instances.
  */
 protected function getDefaultCommands()
 {
     $default_commands = parent::getDefaultCommands();
     $default_commands[] = new DownloadAttachmentCommand();
     $default_commands[] = new VersionsCommand();
     $default_commands[] = new BackportCommand();
     $default_commands[] = new ChangeLogCloneCommand();
     return $default_commands;
 }
コード例 #2
0
 /**
  * Initializes all the composer commands.
  *
  * @return Command[] An array of default Command instances.
  */
 protected function getDefaultCommands()
 {
     $default_commands = parent::getDefaultCommands();
     $default_commands[] = new MissingTestsCommand();
     $default_commands[] = new ReportCommand();
     $default_commands[] = new CompletionCommand();
     if (!$this->isPharFile()) {
         $default_commands[] = new MigrationCreateCommand();
     }
     return $default_commands;
 }
コード例 #3
0
ファイル: Application.php プロジェクト: aik099/svn-buddy
 /**
  * {@inheritdoc}
  */
 protected function getDefaultCommands()
 {
     $default_commands = parent::getDefaultCommands();
     $default_commands[] = new MergeCommand();
     // $default_commands[] = new ResolveCommand();
     $default_commands[] = new CleanupCommand();
     $default_commands[] = new RevertCommand();
     $default_commands[] = new LogCommand();
     $default_commands[] = new UpdateCommand();
     $default_commands[] = new CommitCommand();
     $default_commands[] = new AggregateCommand();
     $default_commands[] = new CompletionCommand();
     $default_commands[] = new ConfigCommand();
     return $default_commands;
 }
コード例 #4
0
 /**
  * {@inheritdoc}
  */
 protected function getDefaultCommands()
 {
     $default_commands = parent::getDefaultCommands();
     $default_commands[] = new MergeCommand();
     $default_commands[] = new CleanupCommand();
     $default_commands[] = new RevertCommand();
     $default_commands[] = new LogCommand();
     $default_commands[] = new UpdateCommand();
     $default_commands[] = new CommitCommand();
     $default_commands[] = new ConflictsCommand();
     $default_commands[] = new ConfigCommand();
     $default_commands[] = new AggregateCommand();
     $default_commands[] = new CompletionCommand();
     $default_commands[] = new SelfUpdateCommand();
     if (!$this->isPharFile()) {
         $default_commands[] = new MigrationCreateCommand();
         $default_commands[] = new PharCreateCommand();
     }
     return $default_commands;
 }
コード例 #5
0
 /**
  * Initializes all the composer commands.
  *
  * @return Command[] An array of default Command instances.
  */
 protected function getDefaultCommands()
 {
     $default_commands = parent::getDefaultCommands();
     $default_commands[] = new ExampleCommand();
     return $default_commands;
 }