diff --git a/Kununu/CsFixer/Command/CsFixerGitHookCommand.php b/Kununu/CsFixer/Command/CsFixerGitHookCommand.php index 47594ad..8472f51 100644 --- a/Kununu/CsFixer/Command/CsFixerGitHookCommand.php +++ b/Kununu/CsFixer/Command/CsFixerGitHookCommand.php @@ -42,11 +42,11 @@ protected function execute(InputInterface $input, OutputInterface $output): int $io->success('PHP CS Fixer Git pre‑commit hook installed successfully.'); - return self::SUCCESS; + return 0; } catch (Throwable $e) { $io->error('Installation failed: ' . $e->getMessage()); - return self::FAILURE; + return 1; } }