Skip to content

Commit

Permalink
remove invalid data provider types (#5483)
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Jan 20, 2024
1 parent 55e7c91 commit 663f526
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
use Iterator;
use PHPUnit\Framework\Attributes\DataProvider;
use Rector\Testing\PHPUnit\AbstractRectorTestCase;
use SplFileInfo;

final class RemoveNullTagValueNodeRectorTest extends AbstractRectorTestCase
{
Expand All @@ -17,9 +16,6 @@ public function test(string $filePath): void
$this->doTestFile($filePath);
}

/**
* @return Iterator<SplFileInfo>
*/
public static function provideData(): Iterator
{
return self::yieldFilesFromDirectory(__DIR__ . '/Fixture');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
use Iterator;
use PHPUnit\Framework\Attributes\DataProvider;
use Rector\Testing\PHPUnit\AbstractRectorTestCase;
use SplFileInfo;

final class RemoveUselessParamTagRectorTest extends AbstractRectorTestCase
{
Expand All @@ -17,9 +16,6 @@ public function test(string $filePath): void
$this->doTestFile($filePath);
}

/**
* @return Iterator<SplFileInfo>
*/
public static function provideData(): Iterator
{
return self::yieldFilesFromDirectory(__DIR__ . '/Fixture');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
use Iterator;
use PHPUnit\Framework\Attributes\DataProvider;
use Rector\Testing\PHPUnit\AbstractRectorTestCase;
use SplFileInfo;

final class RemoveUselessReturnTagRectorTest extends AbstractRectorTestCase
{
Expand All @@ -17,9 +16,6 @@ public function test(string $filePath): void
$this->doTestFile($filePath);
}

/**
* @return Iterator<SplFileInfo>
*/
public static function provideData(): Iterator
{
return self::yieldFilesFromDirectory(__DIR__ . '/Fixture');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
use Iterator;
use PHPUnit\Framework\Attributes\DataProvider;
use Rector\Testing\PHPUnit\AbstractRectorTestCase;
use SplFileInfo;

final class ReplaceHttpServerVarsByServerRectorTest extends AbstractRectorTestCase
{
Expand All @@ -17,9 +16,6 @@ public function test(string $filePath): void
$this->doTestFile($filePath);
}

/**
* @return Iterator<SplFileInfo>
*/
public static function provideData(): Iterator
{
return self::yieldFilesFromDirectory(__DIR__ . '/Fixture');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
use Iterator;
use PHPUnit\Framework\Attributes\DataProvider;
use Rector\Testing\PHPUnit\AbstractRectorTestCase;
use SplFileInfo;

final class ReplaceEachAssignmentWithKeyCurrentRectorTest extends AbstractRectorTestCase
{
Expand All @@ -17,9 +16,6 @@ public function test(string $filePath): void
$this->doTestFile($filePath);
}

/**
* @return Iterator<SplFileInfo>
*/
public static function provideData(): Iterator
{
return self::yieldFilesFromDirectory(__DIR__ . '/Fixture');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
use Iterator;
use PHPUnit\Framework\Attributes\DataProvider;
use Rector\Testing\PHPUnit\AbstractRectorTestCase;
use SplFileInfo;

final class RemoveFuncCallArgRectorTest extends AbstractRectorTestCase
{
Expand All @@ -17,9 +16,6 @@ public function test(string $filePath): void
$this->doTestFile($filePath);
}

/**
* @return Iterator<SplFileInfo>
*/
public static function provideData(): Iterator
{
return self::yieldFilesFromDirectory(__DIR__ . '/Fixture');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
use Iterator;
use PHPUnit\Framework\Attributes\DataProvider;
use Rector\Testing\PHPUnit\AbstractRectorTestCase;
use SplFileInfo;

final class RemoveFuncCallRectorTest extends AbstractRectorTestCase
{
Expand All @@ -17,9 +16,6 @@ public function test(string $filePath): void
$this->doTestFile($filePath);
}

/**
* @return Iterator<SplFileInfo>
*/
public static function provideData(): Iterator
{
return self::yieldFilesFromDirectory(__DIR__ . '/Fixture');
Expand Down

0 comments on commit 663f526

Please sign in to comment.