Total Complexity | 4 |
Total Lines | 19 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
15 | class DestroyTest extends TestCase |
||
16 | { |
||
17 | public function intProvider(): iterable |
||
18 | { |
||
19 | for ($i = 0; $i < 10; $i++) |
||
20 | yield [$i]; |
||
21 | } |
||
22 | |||
23 | /** |
||
24 | * @dataProvider intProvider |
||
25 | */ |
||
26 | public function testInt(int $i): void |
||
27 | { |
||
28 | $this->assertIsInt($i); |
||
29 | } |
||
30 | |||
31 | public function __destruct() |
||
34 | } |
||
35 | } |
||
36 | |||
86 |