Skip to content

Commit

Permalink
IBX-8138: [Rector] Applied rules from Symfony 5 Rector set lists (#80)
Browse files Browse the repository at this point in the history
* [Rector] Applied all Symfony 5.x rectors to the production codebase

Applied rules:
 * CommandConstantReturnCodeRector

* Applied code review suggestions

---------

Co-authored-by: Adam Wójs <[email protected]>
  • Loading branch information
alongosz and adamwojs committed Aug 9, 2024
1 parent 641f99c commit bbf5268
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib/Command/IbexaSetupCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit bbf5268

Please sign in to comment.