mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-24 03:35:01 +01:00
* Change file system approach of MultipleClassFileToPsr4ClassesRector to file without namespace node * update DecoupleClassMethodToOwnClassRector * [ci] add rebase jobp * disable fail fast for unit tests * misc
31 lines
714 B
PHP
31 lines
714 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Rector\Core\Tests\RectorCombination\RenameAndFluent;
|
|
|
|
use Iterator;
|
|
use Rector\Testing\PHPUnit\AbstractRectorTestCase;
|
|
use Symplify\SmartFileSystem\SmartFileInfo;
|
|
|
|
final class RenameAndFluentTest extends AbstractRectorTestCase
|
|
{
|
|
/**
|
|
* @dataProvider provideData()
|
|
*/
|
|
public function test(SmartFileInfo $fileInfo): void
|
|
{
|
|
$this->doTestFileInfo($fileInfo);
|
|
}
|
|
|
|
public function provideData(): Iterator
|
|
{
|
|
return $this->yieldFilesFromDirectory(__DIR__ . '/Fixture');
|
|
}
|
|
|
|
protected function provideConfigFileInfo(): ?SmartFileInfo
|
|
{
|
|
return new SmartFileInfo(__DIR__ . '/config/rename_and_fluent.php');
|
|
}
|
|
}
|