We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3f5c00 commit 4d82449Copy full SHA for 4d82449
src/Plugin.php
@@ -12,7 +12,9 @@ class Plugin implements PluginEntryPointInterface
12
/** @return void */
13
public function __invoke(RegistrationInterface $psalm, SimpleXMLElement $config = null): void
14
{
15
- $psalm->addStubFile(__DIR__ . '/../stubs/Assert_75.phpstub');
+ if (VersionUtils::packageVersionIs('phpunit/phpunit', '<', '8.0')) {
16
+ $psalm->addStubFile(__DIR__ . '/../stubs/Assert_75.phpstub');
17
+ }
18
$psalm->addStubFile(__DIR__ . '/../stubs/TestCase.phpstub');
19
$psalm->addStubFile(__DIR__ . '/../stubs/MockBuilder.phpstub');
20
$psalm->addStubFile(__DIR__ . '/../stubs/InvocationMocker.phpstub');
0 commit comments