1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-21 21:31:13 +01:00

Don’t run classloader test in 7.1

This commit is contained in:
Matthew Brown 2019-11-30 00:46:19 -05:00
parent c65540a323
commit e777f5227d

View File

@ -10,6 +10,12 @@ class SuicidalAutoloaderTest extends TestCase
public function testSucceedsWithEmptyFile(): void
{
if (version_compare(PHP_VERSION, '7.2.0', '<')) {
$this->markTestSkipped('Test case requires PHP 7.2.');
return;
}
$this->runPsalm(['--no-cache'], __DIR__ . '/' . '../fixtures/SuicidalAutoloader/');
}
}