From b7b25547bbe492d3755cb7a3e2846f097534e194 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Mon, 25 Nov 2024 16:55:55 +0100 Subject: [PATCH] Attempt fixing windows CI --- tests/ClassMapGeneratorTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/ClassMapGeneratorTest.php b/tests/ClassMapGeneratorTest.php index 615e18a..32eb3bf 100644 --- a/tests/ClassMapGeneratorTest.php +++ b/tests/ClassMapGeneratorTest.php @@ -283,9 +283,9 @@ public function testGetRawPSR4Violations(): void $classMap = $this->generator->getClassMap(); $rawViolations = $classMap->getRawPsrViolations(); - $classWithoutNameSpaceFilepath = __DIR__ . '/Fixtures/psrViolations/ClassWithoutNameSpace.php'; - $classWithIncorrectSubNamespaceFilepath = __DIR__ . '/Fixtures/psrViolations/ClassWithIncorrectSubNamespace.php'; - $classWithNameSpaceOutsideConfiguredScopeFilepath = __DIR__ . '/Fixtures/psrViolations/ClassWithNameSpaceOutsideConfiguredScope.php'; + $classWithoutNameSpaceFilepath = realpath(__DIR__) . '/Fixtures/psrViolations/ClassWithoutNameSpace.php'; + $classWithIncorrectSubNamespaceFilepath = realpath(__DIR__) . '/Fixtures/psrViolations/ClassWithIncorrectSubNamespace.php'; + $classWithNameSpaceOutsideConfiguredScopeFilepath = realpath(__DIR__) . '/Fixtures/psrViolations/ClassWithNameSpaceOutsideConfiguredScope.php'; self::assertArrayHasKey($classWithoutNameSpaceFilepath, $rawViolations); self::assertCount(1, $rawViolations[$classWithoutNameSpaceFilepath]);