Skip to content

Commit

Permalink
Revert \Composer\Autoload\ClassLoader in Cli\Psalm.php
Browse files Browse the repository at this point in the history
  • Loading branch information
ralila committed Dec 4, 2021
1 parent 8fb2e0f commit 2d199d1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Psalm/Internal/Cli/Psalm.php
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,8 @@ public static function run(array $argv): void

$include_collector = new IncludeCollector();
$first_autoloader = $include_collector->runAndCollect(
function () use ($current_dir, $options, $vendor_dir): ?ClassLoader {
// phpcs:ignore SlevomatCodingStandard.Namespaces.ReferenceUsedNamesOnly.ReferenceViaFullyQualifiedName
function () use ($current_dir, $options, $vendor_dir): ?\Composer\Autoload\ClassLoader {
return CliUtils::requireAutoloaders($current_dir, isset($options['r']), $vendor_dir);
}
);
Expand Down

0 comments on commit 2d199d1

Please sign in to comment.