Conditions | 3 |
Paths | 3 |
Total Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
31 | protected static function checkDependenciesFor55() |
||
32 | { |
||
33 | $fs = new Filesystem(); |
||
34 | if (!$fs->exists('composer.lock')) { |
||
35 | return; |
||
36 | } |
||
37 | |||
38 | $composerLockContents = file_get_contents('composer.lock'); |
||
39 | if (preg_match('#"php":.*(5\.6)#', $composerLockContents)) { |
||
40 | static::fixDependenciesFor55(); |
||
41 | } |
||
42 | } |
||
43 | |||
59 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.