1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-22 13:51:54 +01:00
psalm/tests/EndToEnd/DestructiveAutoloaderTest.php
2021-11-01 22:27:43 +01:00

19 lines
457 B
PHP

<?php
namespace Psalm\Tests\EndToEnd;
use PHPUnit\Framework\TestCase;
class DestructiveAutoloaderTest extends TestCase
{
use PsalmRunnerTrait;
public function testSucceedsWithEmptyFile(): void
{
if (\version_compare(\PHP_VERSION, '7.2.0', '<')) {
$this->markTestSkipped('Test case requires PHP 7.2.');
}
$this->runPsalm(['--no-cache'], __DIR__ . '/' . '../fixtures/DestructiveAutoloader/', true);
}
}