Skip to content

Commit 23da35d

Browse files
committed
[cache] Fix CS
1 parent e4f9015 commit 23da35d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/Parallel/WorkerRunner.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public function run(Encoder $encoder, Decoder $decoder, Configuration $configura
9595

9696
if ($errorAndFileDiffs[Bridge::SYSTEM_ERRORS] !== []) {
9797
$this->invalidateFile($file);
98-
} else if (! $configuration->isDryRun() || $errorAndFileDiffs[Bridge::FILE_DIFFS] === []) {
98+
} elseif (! $configuration->isDryRun() || $errorAndFileDiffs[Bridge::FILE_DIFFS] === []) {
9999
$this->changedFilesDetector->cacheFileWithDependencies($file->getFilePath());
100100
}
101101
} catch (Throwable $throwable) {

src/Application/ApplicationFileProcessor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ public function processFiles(array $files, Configuration $configuration): array
133133

134134
if ($systemErrorsAndFileDiffs[Bridge::SYSTEM_ERRORS] !== []) {
135135
$this->changedFilesDetector->invalidateFile($file->getFilePath());
136-
} else if (! $configuration->isDryRun() || $systemErrorsAndFileDiffs[Bridge::FILE_DIFFS] === []) {
136+
} elseif (! $configuration->isDryRun() || $systemErrorsAndFileDiffs[Bridge::FILE_DIFFS] === []) {
137137
$this->changedFilesDetector->cacheFileWithDependencies($file->getFilePath());
138138
}
139139

0 commit comments

Comments
 (0)