Total Complexity | 2 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | class CodeCoverageGoodCheckTest extends TestCase |
||
9 | { |
||
10 | /** |
||
11 | * @covers \SilverStripe\ModuleRatings\Check\CodeCoverageGoodCheck::run |
||
12 | * @covers \SilverStripe\ModuleRatings\Check\CodeCoverageGreatCheck::run |
||
13 | * |
||
14 | * @param float $coverage |
||
15 | * @param bool $expected |
||
16 | * @dataProvider checkProvider |
||
17 | */ |
||
18 | public function testCheck($coverage, $expected) |
||
29 | } |
||
30 | |||
31 | /** |
||
32 | * @return array[] |
||
33 | */ |
||
34 | public function checkProvider() |
||
43 |
This function has been deprecated. The supplier of the function has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the function will be removed and what other function to use instead.