Skip to content

Commit

Permalink
Discover BetterReflection sources using PSR-4
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Aug 9, 2022
1 parent 8ea7b89 commit 8ab002a
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -120,6 +120,7 @@ public function create(): SourceLocator
$fileLocators[] = $this->optimizedPsrAutoloaderLocatorFactory->create(
Psr4Mapping::fromArrayMappings([
'PHPStan\\Testing\\' => [$pharProtocolPath . '/src/Testing/'],
'PHPStan\\BetterReflection\\' => [$pharProtocolPath . '/vendor/ondrejmirtes/better-reflection/src/'],
]),
);
}
Expand Down

0 comments on commit 8ab002a

Please sign in to comment.