Update RectorTest.php

This commit is contained in:
Dan Harrin
2024-02-26 19:50:13 +00:00
parent 359ebb0657
commit 060dd04f65
+23 -23
View File
@@ -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';
// }
// }