Skip to content

Commit a4cfdbe

Browse files
committed
--xml option rather than list --format=xml
Phinx outputs a version line when using list. Using --xml works for composer, phinx, artisan
1 parent ad04b47 commit a4cfdbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DumpCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
7373
$scriptOptions = $input->getOption('script-options');
7474

7575
// find all commands
76-
$process = new Process($script . ' ' . $scriptOptions . ' list --format=xml');
76+
$process = new Process($script . ' ' . $scriptOptions . ' --xml');
7777
$process->run();
7878
if (!$process->isSuccessful()) {
7979
throw new \RuntimeException($process->getErrorOutput());

0 commit comments

Comments
 (0)