Skip to content

Commit

Permalink
cs
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed May 30, 2024
1 parent e5009b0 commit 12323c0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Command/PrivatizeConstantsCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ protected function execute(InputInterface $input, OutputInterface $output): int
{
$sources = (array) $input->getArgument('sources');
$phpFileInfos = FilesFinder::findPhpFiles($sources);
if ($phpFileInfos === []) {
$this->symfonyStyle->warning('No PHP files found in provided paths');

return self::SUCCESS;
}

$this->privatizeClassConstants($phpFileInfos);

Expand Down

0 comments on commit 12323c0

Please sign in to comment.