From 4c339377de81aedd5dd02bfede9a978cccc9f8d4 Mon Sep 17 00:00:00 2001 From: Mathieu De Keyzer Date: Fri, 8 Sep 2023 23:44:53 +0200 Subject: [PATCH] chore: phpcs --- .../src/Command/FileReader/FileReaderImportCommand.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/elasticms-cli/src/Command/FileReader/FileReaderImportCommand.php b/elasticms-cli/src/Command/FileReader/FileReaderImportCommand.php index 32fff26ef..f3f886887 100644 --- a/elasticms-cli/src/Command/FileReader/FileReaderImportCommand.php +++ b/elasticms-cli/src/Command/FileReader/FileReaderImportCommand.php @@ -106,7 +106,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int $row[$header[$key] ?? $key] = $cell; $empty = $empty && (null === $cell); } - if($empty) { + if ($empty) { $progressBar->advance(); continue; } @@ -143,7 +143,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int } $progressBar->finish(); $this->io->newLine(2); - $this->io->text(sprintf('%d lines have been imported', $counter)); + $this->io->text(\sprintf('%d lines have been imported', $counter)); if ($this->dryRun && \count($ouuids) > 0) { $this->io->newLine(2);