From c708a565c4dc5363eada76e12a5db53c0a42e290 Mon Sep 17 00:00:00 2001 From: Frank Verhoeven Date: Thu, 24 Mar 2022 12:28:14 +0100 Subject: [PATCH] fix: Add `--allow-no-migration` to migrations check (#6) --- src/Command/DoctrineMigrationsCommand.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Command/DoctrineMigrationsCommand.php b/src/Command/DoctrineMigrationsCommand.php index fcd3867..3c7ba28 100644 --- a/src/Command/DoctrineMigrationsCommand.php +++ b/src/Command/DoctrineMigrationsCommand.php @@ -24,6 +24,7 @@ protected function getMultiCommand(): array [ $this->withBinPath('console'), 'doctrine:migrations:migrate', + '--allow-no-migration', '--no-interaction', '--env=test', ], @@ -32,6 +33,7 @@ protected function getMultiCommand(): array $this->withBinPath('console'), 'doctrine:migrations:migrate', 'first', + '--allow-no-migration', '--no-interaction', '--env=test', ], @@ -39,6 +41,7 @@ protected function getMultiCommand(): array [ $this->withBinPath('console'), 'doctrine:migrations:migrate', + '--allow-no-migration', '--no-interaction', '--env=test', ],