We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a48c334 commit 322ae9aCopy full SHA for 322ae9a
src/Parser/PathRoutingParser.php
@@ -41,11 +41,11 @@ public function setAnalysedFiles(array $files): void
41
42
public function parseFile(string $file): array
43
{
44
- $file = $this->fileHelper->normalizePath($file, '/');
45
- if (strpos($file, 'vendor/jetbrains/phpstorm-stubs') !== false) {
+ if (strpos($this->fileHelper->normalizePath($file, '/'), 'vendor/jetbrains/phpstorm-stubs') !== false) {
46
return $this->php8Parser->parseFile($file);
47
}
48
+ $file = $this->fileHelper->normalizePath($file);
49
if (!isset($this->analysedFiles[$file])) {
50
return $this->currentPhpVersionSimpleParser->parseFile($file);
51
0 commit comments