Skip to content

Commit 62f2ca2

Browse files
authored
Merge branch refs/heads/1.10.x into 1.11.x
2 parents d28e856 + 4020240 commit 62f2ca2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Command/AnalyseApplication.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public function analyse(
8989

9090
$projectStubFiles = $this->stubFilesProvider->getProjectStubFiles();
9191

92-
if ($resultCache->isFullAnalysis() && count($projectStubFiles) !== 0) {
92+
if ($resultCache->isFullAnalysis() && count($projectStubFiles) !== 0 && !$onlyFiles) {
9393
$stubErrors = $this->stubValidator->validate($projectStubFiles, $debug);
9494
$intermediateAnalyserResult = new AnalyserResult(
9595
array_merge($intermediateAnalyserResult->getUnorderedErrors(), $stubErrors),

0 commit comments

Comments
 (0)