Skip to content

Commit

Permalink
CS fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
stevebauman committed Jan 6, 2025
1 parent c32caff commit e39b0e4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/StructureDiscovererTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ public function satisfies(DiscoveredStructure $discoveredData): bool
});

it('can discover enums with interfaces', function () {
$found = Discover::in(__DIR__ . '/Fakes')
$found = Discover::in(__DIR__.'/Fakes')
->implementing(FakeChildInterface::class)
->enums()
->get();
Expand All @@ -524,13 +524,13 @@ public function satisfies(DiscoveredStructure $discoveredData): bool
});

it('can parse anonymous classes', function () {
$found = Discover::in(__DIR__ . '/Fakes')->get();
$found = Discover::in(__DIR__.'/Fakes')->get();

expect($found)->not->toContain("Spatie\StructureDiscoverer\Tests\Fakes\(");
});

it('can parse multiple nested classes', function () {
$found = Discover::in(__DIR__ . '/Fakes')->get();
$found = Discover::in(__DIR__.'/Fakes')->get();

expect($found)->toContain("Spatie\StructureDiscoverer\Tests\Fakes\FakeWithMultipleClassesSub");
});

0 comments on commit e39b0e4

Please sign in to comment.