Conditions | 2 |
Paths | 2 |
Total Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
16 | public static function isTtySupported() |
||
17 | { |
||
18 | if (method_exists('\Symfony\Component\Process\Process', 'isTtySupported')) { |
||
19 | return Process::isTtySupported(); |
||
|
|||
20 | } |
||
21 | return (bool) @proc_open('echo 1 >/dev/null', array(array('file', '/dev/tty', 'r'), array('file', '/dev/tty', 'w'), array('file', '/dev/tty', 'w')), $pipes); |
||
22 | } |
||
23 | } |
||
24 |
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.