We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 277607a commit 35bf91cCopy full SHA for 35bf91c
tests/Functional/Type/DefinitionTest.php
@@ -23,10 +23,10 @@ public function testDefinesEnumTypeWithDeprecatedValue(): void
23
/** @var EnumType $enumTypeWithDeprecatedValue */
24
$enumTypeWithDeprecatedValue = $this->getType('EnumWithDeprecatedValue');
25
$value = $enumTypeWithDeprecatedValue->getValues()[0];
26
- $this->assertSame([
27
- 'name' => 'foo',
28
- 'value' => 'foo',
+ $this->assertSame([ // @phpstan-ignore-line
29
'deprecationReason' => 'Just because',
+ 'value' => 'foo',
+ 'name' => 'foo',
30
], $value->config);
31
$this->assertTrue($value->isDeprecated());
32
}
0 commit comments