Skip to content

Commit 3823c97

Browse files
committed
skip if no paths found
1 parent b7b6c66 commit 3823c97

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Application/ApplicationFileProcessor.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,15 @@ public function __construct(
5858
public function run(Configuration $configuration, InputInterface $input): ProcessResult
5959
{
6060
$filePaths = $this->filesFinder->findFilesInPaths($configuration->getPaths(), $configuration);
61-
$this->missConfigurationReporter->reportVendorInPaths($filePaths);
62-
$this->missConfigurationReporter->reportStartWithShortOpenTag();
6361

6462
// no files found
6563
if ($filePaths === []) {
6664
return new ProcessResult([], []);
6765
}
6866

67+
$this->missConfigurationReporter->reportVendorInPaths($filePaths);
68+
$this->missConfigurationReporter->reportStartWithShortOpenTag();
69+
6970
$this->configureCustomErrorHandler();
7071

7172
/**

0 commit comments

Comments
 (0)