Skip to content

Commit

Permalink
Lock file maintenance
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored and kukulich committed Dec 1, 2023
1 parent 91015e0 commit 9a3f52e
Show file tree
Hide file tree
Showing 3 changed files with 72 additions and 69 deletions.
58 changes: 29 additions & 29 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions test/unit/Reflection/Adapter/ReflectionEnumTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -239,14 +239,17 @@ public function testImplementsInterfaceIsCaseInsensitive(): void

public function testPropertyName(): void
{
/** @phpstan-var class-string $className */
$className = 'Foo';

$betterReflectionEnum = $this->createMock(BetterReflectionEnum::class);
$betterReflectionEnum
->method('getName')
->willReturn('Foo');
->willReturn($className);

$reflectionEnumAdapter = new ReflectionEnumAdapter($betterReflectionEnum);

self::assertSame('Foo', $reflectionEnumAdapter->name);
self::assertSame($className, $reflectionEnumAdapter->name);
}

public function testUnknownProperty(): void
Expand Down
Loading

0 comments on commit 9a3f52e

Please sign in to comment.