From 13d180459f05afc66123bcf2b9982563f3d063ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anderson=20M=C3=BCller?= Date: Fri, 24 Jan 2020 16:42:57 +0100 Subject: [PATCH 1/3] Allow Symfony ^5.0 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 5dcdbe8..eb906f7 100644 --- a/composer.json +++ b/composer.json @@ -12,7 +12,7 @@ "require": { "php": "^7.0", "doctrine/dbal": "^2.5", - "symfony/console": "^3.2 || ^4.0" + "symfony/console": "^3.2 || ^4.0 || ^5.0" }, "require-dev": { "phpunit/phpunit": "^6.0" From 83c8847e4f9f7b8d3f8e5f69bb3f1697983ee828 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anderson=20M=C3=BCller?= Date: Fri, 24 Jan 2020 19:06:05 +0100 Subject: [PATCH 2/3] Add exit codes --- src/Command/PurgeCommand.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Command/PurgeCommand.php b/src/Command/PurgeCommand.php index e602ed3..1787e6d 100644 --- a/src/Command/PurgeCommand.php +++ b/src/Command/PurgeCommand.php @@ -34,5 +34,7 @@ protected function configure() protected function execute(InputInterface $input, OutputInterface $output) { $this->schemaCommand->purge($input->getOption('force'), $output); + + return 0; } } From 5dd600ec7b288d0df5d58d55af5bbd000bf37b11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anderson=20M=C3=BCller?= Date: Fri, 24 Jan 2020 19:06:34 +0100 Subject: [PATCH 3/3] Add exit codes --- src/Command/UpdateCommand.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Command/UpdateCommand.php b/src/Command/UpdateCommand.php index 3899687..eeaaa19 100644 --- a/src/Command/UpdateCommand.php +++ b/src/Command/UpdateCommand.php @@ -34,5 +34,7 @@ protected function configure() protected function execute(InputInterface $input, OutputInterface $output) { $this->schemaCommand->update($input->getOption('force'), $output); + + return 0; } }