Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit efc0099

Browse files
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

Lines changed: 4 additions & 0 deletions
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)

AltStyle によって変換されたページ (->オリジナル) /