Conditions | 4 |
Paths | 4 |
Total Lines | 16 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
24 | public function requirementsAreInstalled() : bool |
||
25 | { |
||
26 | if (! function_exists('imagecreatefromwebp')) { |
||
27 | return false; |
||
28 | } |
||
29 | |||
30 | if (! function_exists('imagepng')) { |
||
31 | return false; |
||
32 | } |
||
33 | |||
34 | if (! function_exists('imagedestroy')) { |
||
35 | return false; |
||
36 | } |
||
37 | |||
38 | return true; |
||
39 | } |
||
40 | |||
51 |