From dc497be91b6b7395ba3e3822f6a164377504a51c Mon Sep 17 00:00:00 2001 From: flack Date: Sat, 14 Dec 2019 11:17:20 +0100 Subject: [PATCH] forward compatibility with sf 4.4+ --- src/command/schema.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/command/schema.php b/src/command/schema.php index 719ad45..a08feff 100644 --- a/src/command/schema.php +++ b/src/command/schema.php @@ -38,7 +38,7 @@ protected function configure() ->addOption('delete', null, InputOption::VALUE_NONE, 'Delete columns/tables that are not defined in mgdschema'); } - protected function execute(InputInterface $input, OutputInterface $output) + protected function execute(InputInterface $input, OutputInterface $output) : int { if (!$this->connected) { $path = $input->getArgument('config'); @@ -114,6 +114,7 @@ protected function execute(InputInterface $input, OutputInterface $output) $this->generate_proxyfiles($cms); $output->writeln('Done'); + return 0; } private function generate_proxyfiles(array $cms)