Skip to content

Commit 8d698fc

Browse files
committed
Fix tests which need UnitEnum
1 parent 09a58d0 commit 8d698fc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/PHPStan/Rules/TooWideTypehints/TooWideMethodReturnTypehintRuleTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,12 +208,14 @@ public function testBug10312b(): void
208208
$this->analyse([__DIR__ . '/data/bug-10312b.php'], []);
209209
}
210210

211+
#[RequiresPhp('>= 8.1')]
211212
public function testBug10312c(): void
212213
{
213214
$this->checkProtectedAndPublicMethods = true;
214215
$this->analyse([__DIR__ . '/data/bug-10312c.php'], []);
215216
}
216217

218+
#[RequiresPhp('>= 8.1')]
217219
public function testBug10312d(): void
218220
{
219221
$this->checkProtectedAndPublicMethods = true;

0 commit comments

Comments
 (0)