Skip to content

Commit

Permalink
Attempt fixing windows CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Seldaek committed Nov 25, 2024
1 parent 80dcee2 commit b7b2554
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/ClassMapGeneratorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
Expand Down

0 comments on commit b7b2554

Please sign in to comment.