Skip to content

Commit

Permalink
fixed windows compat in VendorLocationDetector
Browse files Browse the repository at this point in the history
  • Loading branch information
staabm committed Aug 7, 2021
1 parent eb744c7 commit 72993e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules/CodingStyle/Reflection/VendorLocationDetector.php
Expand Up @@ -27,7 +27,7 @@ public function detectFunctionLikeReflection(
return false;
}

$normalizedFileName = $this->pathNormalizer->normalizePath($fileName);
$normalizedFileName = $this->pathNormalizer->normalizePath($fileName, '/');
return str_contains($normalizedFileName, '/vendor/');
}

Expand Down

0 comments on commit 72993e3

Please sign in to comment.