From 053daa146f119ef43c52fa2170edfbd98347eb2d Mon Sep 17 00:00:00 2001 From: Anders Jenbo Date: Tue, 8 Dec 2020 07:18:18 +0100 Subject: [PATCH 1/4] Correct return value for init command --- src/Command/PhpStanInitCommand.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Command/PhpStanInitCommand.php b/src/Command/PhpStanInitCommand.php index a4ba851..8b54974 100644 --- a/src/Command/PhpStanInitCommand.php +++ b/src/Command/PhpStanInitCommand.php @@ -36,5 +36,7 @@ protected function execute(InputInterface $input, OutputInterface $output) $destination . '/' . $template ); } + + return self::SUCCESS; } } From 5af74d0fc09969a2dc7e5cab0d8c6b988a6bcef3 Mon Sep 17 00:00:00 2001 From: Anders Jenbo Date: Tue, 8 Dec 2020 07:25:04 +0100 Subject: [PATCH 2/4] Correct return value for CsFixerInitCommand::execute --- src/Command/CsFixerInitCommand.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Command/CsFixerInitCommand.php b/src/Command/CsFixerInitCommand.php index 09135a3..595620a 100644 --- a/src/Command/CsFixerInitCommand.php +++ b/src/Command/CsFixerInitCommand.php @@ -36,5 +36,7 @@ protected function execute(InputInterface $input, OutputInterface $output) $destination . '/.' . $template ); } + + return self::SUCCESS; } } From 5247635bef6d4e464f16e1641d67e3bbc797c552 Mon Sep 17 00:00:00 2001 From: Anders Jenbo Date: Tue, 8 Dec 2020 17:09:32 +0100 Subject: [PATCH 3/4] Update CsFixerInitCommand.php --- src/Command/CsFixerInitCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Command/CsFixerInitCommand.php b/src/Command/CsFixerInitCommand.php index 595620a..b6c1b97 100644 --- a/src/Command/CsFixerInitCommand.php +++ b/src/Command/CsFixerInitCommand.php @@ -37,6 +37,6 @@ protected function execute(InputInterface $input, OutputInterface $output) ); } - return self::SUCCESS; + return 0; } } From 2c6be6a73a30b79cdbfd308a27f8e8230540f813 Mon Sep 17 00:00:00 2001 From: Anders Jenbo Date: Tue, 8 Dec 2020 17:09:57 +0100 Subject: [PATCH 4/4] Update PhpStanInitCommand.php --- src/Command/PhpStanInitCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Command/PhpStanInitCommand.php b/src/Command/PhpStanInitCommand.php index 8b54974..c19cc66 100644 --- a/src/Command/PhpStanInitCommand.php +++ b/src/Command/PhpStanInitCommand.php @@ -37,6 +37,6 @@ protected function execute(InputInterface $input, OutputInterface $output) ); } - return self::SUCCESS; + return 0; } }