Skip to content

Commit 950a933

Browse files
committed
Attempt fixing windows CI
1 parent 80dcee2 commit 950a933

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/ClassMapGeneratorTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -283,10 +283,10 @@ public function testGetRawPSR4Violations(): void
283283
$classMap = $this->generator->getClassMap();
284284
$rawViolations = $classMap->getRawPsrViolations();
285285

286-
$classWithoutNameSpaceFilepath = __DIR__ . '/Fixtures/psrViolations/ClassWithoutNameSpace.php';
287-
$classWithIncorrectSubNamespaceFilepath = __DIR__ . '/Fixtures/psrViolations/ClassWithIncorrectSubNamespace.php';
288-
$classWithNameSpaceOutsideConfiguredScopeFilepath = __DIR__ . '/Fixtures/psrViolations/ClassWithNameSpaceOutsideConfiguredScope.php';
289-
286+
$classWithoutNameSpaceFilepath = realpath(__DIR__) . '/Fixtures/psrViolations/ClassWithoutNameSpace.php';
287+
$classWithIncorrectSubNamespaceFilepath = realpath(__DIR__) . '/Fixtures/psrViolations/ClassWithIncorrectSubNamespace.php';
288+
$classWithNameSpaceOutsideConfiguredScopeFilepath = realpath(__DIR__) . '/Fixtures/psrViolations/ClassWithNameSpaceOutsideConfiguredScope.php';
289+
var_dump($rawViolations);
290290
self::assertArrayHasKey($classWithoutNameSpaceFilepath, $rawViolations);
291291
self::assertCount(1, $rawViolations[$classWithoutNameSpaceFilepath]);
292292
self::assertSame('Class ClassWithoutNameSpace located in ./tests/Fixtures/psrViolations/ClassWithoutNameSpace.php does not comply with psr-4 autoloading standard (rule: ExpectedNamespace\ => ./tests/Fixtures/psrViolations). Skipping.', $rawViolations[$classWithoutNameSpaceFilepath][0]['warning']);

0 commit comments

Comments
 (0)