Skip to content

Commit df748c4

Browse files
committed
AC-7723:Backward compatibilies issue with phpstan version and rector phpstan version
1 parent 5d976c5 commit df748c4

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

dev/tests/static/framework/Magento/PhpStan/Formatters/FilteredErrorFormatter.php

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -66,17 +66,7 @@ public function formatErrors(AnalysisResult $analysisResult, Output $output): in
6666
return self::NO_ERRORS;
6767
}
6868

69-
$clearedAnalysisResult = new AnalysisResult(
70-
$this->clearIgnoredErrors($analysisResult->getFileSpecificErrors()),
71-
$analysisResult->getNotFileSpecificErrors(),
72-
$analysisResult->getInternalErrors(),
73-
$analysisResult->getWarnings(),
74-
$analysisResult->isDefaultLevelUsed(),
75-
$analysisResult->getProjectConfigFile(),
76-
$analysisResult->isResultCacheSaved()
77-
);
78-
79-
return $this->tableErrorFormatter->formatErrors($clearedAnalysisResult, $output);
69+
return $this->tableErrorFormatter->formatErrors($analysisResult, $output);
8070
}
8171

8272
/**

0 commit comments

Comments
 (0)