Conditions | 2 |
Paths | 2 |
Total Lines | 14 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
46 | protected function doWrite ($message, $newline) { |
||
47 | if ($newline) { |
||
48 | $message .= "\n"; |
||
49 | } |
||
50 | fwrite($this->stream, $message); |
||
51 | $this->buffer .= $message; |
||
52 | Event::instance()->fire( |
||
53 | 'Composer/update_progress', |
||
54 | [ |
||
55 | 'message' => $message, |
||
56 | 'buffer' => $this->buffer |
||
57 | ] |
||
58 | ); |
||
59 | } |
||
60 | function __destruct () { |
||
64 |