Skip to content

Commit fe55662

Browse files
committed
Update FileAnalyser.php
1 parent fdac0dc commit fe55662

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Analyser/FileAnalyser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ private function collectErrors(array $analysedFiles): void
368368
}
369369

370370
$errorMessage = sprintf('%s: %s', $this->getErrorLabel($errno), $errstr);
371-
$errorSignature = hash('sha256', md5(sprintf('%s:%s::%s', $errfile, $errline, $errorMessage)));
371+
$errorSignature = hash('sha256', sprintf('%s:%s::%s', $errfile, $errline, $errorMessage));
372372

373373
$this->allPhpErrors[$errorSignature] = (new Error($errorMessage, $errfile, $errline, false))->withIdentifier('phpstan.php');
374374

0 commit comments

Comments
 (0)