From bbf52682ff784fd8b09bf7abc638fb7cbca29fbf Mon Sep 17 00:00:00 2001 From: Andrew Longosz Date: Fri, 9 Aug 2024 13:44:35 +0200 Subject: [PATCH] IBX-8138: [Rector] Applied rules from Symfony 5 Rector set lists (#80) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * [Rector] Applied all Symfony 5.x rectors to the production codebase Applied rules: * CommandConstantReturnCodeRector * Applied code review suggestions --------- Co-authored-by: Adam Wójs --- src/lib/Command/IbexaSetupCommand.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/Command/IbexaSetupCommand.php b/src/lib/Command/IbexaSetupCommand.php index 2e10660..dbe51c4 100644 --- a/src/lib/Command/IbexaSetupCommand.php +++ b/src/lib/Command/IbexaSetupCommand.php @@ -15,6 +15,7 @@ use Composer\Semver\VersionParser; use Exception; use Ibexa\PostInstall\IbexaProductVersion; +use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Exception\RuntimeException; use Symfony\Component\Console\Helper\ProgressBar; use Symfony\Component\Console\Input\InputInterface; @@ -104,7 +105,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int $output->writeln("\nPlatform.sh config files installed successfully"); } - return 0; + return Command::SUCCESS; } protected function getCommonFiles(string $product): Finder