Total Complexity | 4 |
Total Lines | 38 |
Duplicated Lines | 0 % |
Changes | 3 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | final class FormatTest extends \PHPUnit\Framework\TestCase |
||
10 | { |
||
11 | public function truncateProvider(): array |
||
19 | ]; |
||
20 | } |
||
21 | |||
22 | /** |
||
23 | * @dataProvider truncateProvider |
||
24 | */ |
||
25 | public function testTruncate(array $args, string $expected): void |
||
29 | } |
||
30 | |||
31 | public function removeAccentsProvider(): array |
||
37 | ]; |
||
38 | } |
||
39 | |||
40 | /** |
||
41 | * @dataProvider removeAccentsProvider |
||
42 | */ |
||
43 | public function testRemoveAccents(string $input, string $expected): void |
||
49 |