mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-01 15:09:33 +08:00
Update RectorTest.php
This commit is contained in:
@@ -1,25 +1,25 @@
|
||||
<?php
|
||||
|
||||
namespace Filament\Tests\Upgrade;
|
||||
|
||||
use Iterator;
|
||||
use Rector\Testing\PHPUnit\AbstractRectorTestCase;
|
||||
|
||||
class RectorTest extends AbstractRectorTestCase
|
||||
{
|
||||
/** @dataProvider provideData */
|
||||
public function test(string $filePath): void
|
||||
{
|
||||
$this->doTestFile($filePath);
|
||||
}
|
||||
|
||||
public static function provideData(): Iterator
|
||||
{
|
||||
// return self::yieldFilesFromDirectory(__DIR__ . '/Fixture');
|
||||
}
|
||||
|
||||
public function provideConfigFilePath(): string
|
||||
{
|
||||
return __DIR__ . '/../../../packages/upgrade/src/rector.php';
|
||||
}
|
||||
}
|
||||
// namespace Filament\Tests\Upgrade;
|
||||
//
|
||||
// use Iterator;
|
||||
// use Rector\Testing\PHPUnit\AbstractRectorTestCase;
|
||||
//
|
||||
// class RectorTest extends AbstractRectorTestCase
|
||||
// {
|
||||
// /** @dataProvider provideData */
|
||||
// public function test(string $filePath): void
|
||||
// {
|
||||
// $this->doTestFile($filePath);
|
||||
// }
|
||||
//
|
||||
// public static function provideData(): Iterator
|
||||
// {
|
||||
// return self::yieldFilesFromDirectory(__DIR__ . '/Fixture');
|
||||
// }
|
||||
//
|
||||
// public function provideConfigFilePath(): string
|
||||
// {
|
||||
// return __DIR__ . '/../../../packages/upgrade/src/rector.php';
|
||||
// }
|
||||
// }
|
||||
|
||||
Reference in New Issue
Block a user