mirror of
https://github.com/rectorphp/rector.git
synced 2025-03-15 04:49:44 +01:00
31 lines
673 B
PHP
31 lines
673 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Rector\Core\Tests\Issues\Issue835;
|
|
|
|
use Iterator;
|
|
use Rector\Core\Testing\PHPUnit\AbstractRectorTestCase;
|
|
use Symplify\SmartFileSystem\SmartFileInfo;
|
|
|
|
final class Issue835Test extends AbstractRectorTestCase
|
|
{
|
|
/**
|
|
* @dataProvider provideData()
|
|
*/
|
|
public function test(SmartFileInfo $fileInfo): void
|
|
{
|
|
$this->doTestFileInfo($fileInfo);
|
|
}
|
|
|
|
public function provideData(): Iterator
|
|
{
|
|
return $this->yieldFilesFromDirectory(__DIR__ . '/Fixture');
|
|
}
|
|
|
|
protected function provideConfig(): string
|
|
{
|
|
return __DIR__ . '/../../../config/set/cakephp/cakephp34.yaml';
|
|
}
|
|
}
|