1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-02 09:37:59 +01:00
psalm/tests/EndToEnd/SuicidalAutoloaderTest.php

19 lines
445 B
PHP
Raw Normal View History

<?php
namespace Psalm\Tests\EndToEnd;
use PHPUnit\Framework\TestCase;
class SuicidalAutoloaderTest extends TestCase
{
use PsalmRunnerTrait;
public function testSucceedsWithEmptyFile(): void
{
2019-11-30 06:49:06 +01:00
if (\version_compare(\PHP_VERSION, '7.2.0', '<')) {
2019-11-30 06:46:19 +01:00
$this->markTestSkipped('Test case requires PHP 7.2.');
}
$this->runPsalm(['--no-cache'], __DIR__ . '/' . '../fixtures/SuicidalAutoloader/');
}
}