Skip to content

Commit

Permalink
Fix identifier-extractor
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Aug 20, 2023
1 parent 90f7b4b commit 5425cc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion identifier-extractor/src/ErrorFormatter.php
Expand Up @@ -23,7 +23,7 @@ public function formatErrors(AnalysisResult $analysisResult, Output $output): in

$json = [];
foreach ($analysisResult->getFileSpecificErrors() as $error) {
if ($error->getIdentifier() === 'ignore.unmatchedLine') {
if ($error->getIdentifier() === 'ignore.unmatchedLine' || $error->getIdentifier() === 'ignore.unmatchedIdentifier') {
continue;
}
if ($error->getIdentifier() !== 'phpstanIdentifierExtractor.data') {
Expand Down

0 comments on commit 5425cc3

Please sign in to comment.