Total Complexity | 1 |
Total Lines | 19 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
24 | class IsNotEmpty extends Emptiness |
||
25 | { |
||
26 | /** |
||
27 | * Actual action name for better error messages |
||
28 | * |
||
29 | * @var string |
||
30 | */ |
||
31 | protected string $actionName = 'IsNotEmpty'; |
||
32 | |||
33 | /** |
||
34 | * Checks if the file is valid or not |
||
35 | * |
||
36 | * @param \SebastianFeldmann\Git\Repository $repository |
||
37 | * @param string $file |
||
38 | * @return bool |
||
39 | */ |
||
40 | 3 | protected function isValid(Repository $repository, string $file): bool |
|
45 |