Skip to content

Commit

Permalink
Merge pull request #572 from alcaeus/diff-command-output-verbose-only
Browse files Browse the repository at this point in the history
Show diff command output in verbose mode only
  • Loading branch information
alcaeus committed Nov 18, 2017
2 parents 012d4b2 + 06d6512 commit 5d5ff24
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Expand Up @@ -2,6 +2,11 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [1.6.1] - 2017-11-18

### Fixed
- [572: Only show generated migration in verbose mode](https://github.com/doctrine/migrations/pull/572) - @alcaeus

## [1.6.0] - 2017-11-09

### Fixed
Expand Down
Expand Up @@ -110,7 +110,7 @@ public function execute(InputInterface $input, OutputInterface $output)
$path = $this->generateMigration($configuration, $input, $version, $up, $down);

$output->writeln(sprintf('Generated new migration class to "<info>%s</info>" from schema differences.', $path));
$output->writeln(file_get_contents($path));
$output->writeln(file_get_contents($path), OutputInterface::VERBOSITY_VERBOSE);
}

private function buildCodeFromSql(Configuration $configuration, array $sql, $formatted = false, $lineLength = 120)
Expand Down

0 comments on commit 5d5ff24

Please sign in to comment.