Skip to content

Commit efc0099

Browse files
committed
Fix
1 parent 8e11b1a commit efc0099

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/Type/PHPUnit/AssertFunctionTypeSpecifyingExtensionTest.php

+4
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ class AssertFunctionTypeSpecifyingExtensionTest extends TypeInferenceTestCase
1010
/** @return mixed[] */
1111
public function dataFileAsserts(): iterable
1212
{
13+
if (!function_exists('PHPUnit\\Framework\\assertInstanceOf')) {
14+
return [];
15+
}
16+
1317
yield from $this->gatherAssertTypes(__DIR__ . '/data/assert-function.php');
1418
}
1519

0 commit comments

Comments
 (0)