From 72993e399b87c72238bec8a49375a210d3154038 Mon Sep 17 00:00:00 2001 From: Markus Staab Date: Fri, 23 Jul 2021 15:02:32 +0200 Subject: [PATCH] fixed windows compat in VendorLocationDetector --- rules/CodingStyle/Reflection/VendorLocationDetector.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/CodingStyle/Reflection/VendorLocationDetector.php b/rules/CodingStyle/Reflection/VendorLocationDetector.php index 74d28ff2f49..2de96a07471 100644 --- a/rules/CodingStyle/Reflection/VendorLocationDetector.php +++ b/rules/CodingStyle/Reflection/VendorLocationDetector.php @@ -27,7 +27,7 @@ public function detectFunctionLikeReflection( return false; } - $normalizedFileName = $this->pathNormalizer->normalizePath($fileName); + $normalizedFileName = $this->pathNormalizer->normalizePath($fileName, '/'); return str_contains($normalizedFileName, '/vendor/'); }