File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
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)