-
-
Notifications
You must be signed in to change notification settings - Fork 438
Expand file tree
/
Copy pathBeberleiTest.php
More file actions
28 lines (22 loc) · 683 Bytes
/
BeberleiTest.php
File metadata and controls
28 lines (22 loc) · 683 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php
declare(strict_types=1);
namespace Assert\Rector\ClassMethod\AddAssertArrayFromClassMethodDocblockRector;
use Iterator;
use PHPUnit\Framework\Attributes\DataProvider;
use Rector\Testing\PHPUnit\AbstractRectorTestCase;
final class BeberleiTest extends AbstractRectorTestCase
{
#[DataProvider('provideData')]
public function test(string $filePath): void
{
$this->doTestFile($filePath);
}
public static function provideData(): Iterator
{
return self::yieldFilesFromDirectory(__DIR__ . '/FixtureBeberlei');
}
public function provideConfigFilePath(): string
{
return __DIR__ . '/config/beberlei_assert.php';
}
}