Skip to content
Permalink
Browse files

Normalise plugin path

  • Loading branch information...
muglug committed Jul 21, 2019
1 parent 3f098ba commit 272ab3519d839f01cac1558f583a968e88fbc10a
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/Psalm/FileBasedPluginAdapter.php
@@ -50,6 +50,8 @@ private function getPluginClassForPath(string $path): string
{
$codebase = $this->codebase;
$path = str_replace(['/', '\\'], DIRECTORY_SEPARATOR, $path);
$file_storage = $codebase->createFileStorageForPath($path);
$file_to_scan = new FileScanner($path, $this->config->shortenFileName($path), true);
$file_to_scan->scan(

0 comments on commit 272ab35

Please sign in to comment.
You can’t perform that action at this time.