Skip to content

Commit 6a84c28

Browse files
Skip these tests as php/php-src#7546 has not been merged yet
1 parent 3089c53 commit 6a84c28

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/unit/ReflectionMapperTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,8 @@ public function testMapsFromNeverReturnType(): void
148148
*/
149149
public function testMapsFromFalseReturnType(): void
150150
{
151+
$this->markTestSkipped('https://github.com/php/php-src/pull/7546 has not been merged yet');
152+
151153
$type = (new ReflectionMapper)->fromReturnType(new ReflectionMethod(ClassWithMethodThatDeclaresFalseReturnType::class, 'falseReturnType'));
152154

153155
$this->assertInstanceOf(FalseType::class, $type);
@@ -159,6 +161,8 @@ public function testMapsFromFalseReturnType(): void
159161
*/
160162
public function testMapsFromNullReturnType(): void
161163
{
164+
$this->markTestSkipped('https://github.com/php/php-src/pull/7546 has not been merged yet');
165+
162166
$type = (new ReflectionMapper)->fromReturnType(new ReflectionMethod(ClassWithMethodThatDeclaresNullReturnType::class, 'nullReturnType'));
163167

164168
$this->assertInstanceOf(NullType::class, $type);

0 commit comments

Comments
 (0)