Skip to content

Commit

Permalink
Adjust suppression to what newer Psalm version reports
Browse files Browse the repository at this point in the history
  • Loading branch information
weirdan committed Sep 18, 2020
1 parent b5c88b5 commit e074fe3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Hooks/TestCaseHandler.php
Expand Up @@ -572,7 +572,10 @@ private static function queueClassLikeForScanning(
if (method_exists($codebase, 'queueClassLikeForScanning')) {
$codebase->queueClassLikeForScanning($fq_class_name);
} else {
/** @psalm-suppress InvalidScalarArgument */
/**
* @psalm-suppress InvalidScalarArgument
* @psalm-suppress InvalidArgument
*/
$codebase->scanner->queueClassLikeForScanning($fq_class_name, $file_path);
}
}
Expand Down

0 comments on commit e074fe3

Please sign in to comment.