From 5d3f21f68fe2add10b39cffc881dd1cf5c708a1c Mon Sep 17 00:00:00 2001 From: Andreas Braun Date: Sat, 18 Nov 2017 14:38:22 +0200 Subject: [PATCH 1/2] Show diff command output in verbose mode only --- .../DBAL/Migrations/Tools/Console/Command/DiffCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Doctrine/DBAL/Migrations/Tools/Console/Command/DiffCommand.php b/lib/Doctrine/DBAL/Migrations/Tools/Console/Command/DiffCommand.php index acc8f9cffd..fee1bf1591 100644 --- a/lib/Doctrine/DBAL/Migrations/Tools/Console/Command/DiffCommand.php +++ b/lib/Doctrine/DBAL/Migrations/Tools/Console/Command/DiffCommand.php @@ -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 "%s" 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) From 06d651275cec8367c5c20d8bda9d39d327d8ebd3 Mon Sep 17 00:00:00 2001 From: Andreas Braun Date: Sat, 18 Nov 2017 14:47:35 +0200 Subject: [PATCH 2/2] Add changelog entry for 1.6.1 --- CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e7e9e07345..983caa976a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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