1 | <?php |
||
27 | abstract class AbstractCaller implements CallerInterface |
||
28 | { |
||
29 | /** |
||
30 | * Git binary path |
||
31 | * |
||
32 | * @var string |
||
33 | */ |
||
34 | protected $binaryPath; |
||
35 | |||
36 | /** |
||
37 | * Git binary version |
||
38 | * |
||
39 | * @var string |
||
40 | */ |
||
41 | protected $binaryVersion; |
||
42 | |||
43 | /** |
||
44 | * the output lines of the command |
||
45 | * |
||
46 | * @var array |
||
47 | */ |
||
48 | protected $outputLines = array(); |
||
49 | |||
50 | /** |
||
51 | * @inheritdoc |
||
52 | */ |
||
53 | 103 | public function getBinaryPath() |
|
57 | |||
58 | /** |
||
59 | * path setter |
||
60 | * |
||
61 | * @param string $path the path to the system git binary |
||
62 | */ |
||
63 | 106 | public function setBinaryPath(string $path) |
|
69 | |||
70 | /** |
||
71 | * @inheritdoc |
||
72 | */ |
||
73 | 5 | public function getBinaryVersion() |
|
85 | |||
86 | /** |
||
87 | * returns the output of the last executed command |
||
88 | * |
||
89 | * @return string |
||
90 | */ |
||
91 | public function getOutput() |
||
95 | |||
96 | /** |
||
97 | * returns the output of the last executed command as an array of lines |
||
98 | * |
||
99 | * @param bool $stripBlankLines remove the blank lines |
||
100 | * |
||
101 | * @return array |
||
102 | */ |
||
103 | public function getOutputLines($stripBlankLines = false) |
||
118 | } |
||
119 |
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.