Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
17 | protected function shutdownScanner(){ |
||
18 | @fwrite($this->getWriteHandle(), pack('N', 0)); |
||
|
|||
19 | $response = fgets($this->getWriteHandle()); |
||
20 | $this->logger->debug( |
||
21 | 'Response :: ' . $response, |
||
22 | ['app' => 'files_antivirus'] |
||
23 | ); |
||
24 | @fclose($this->getWriteHandle()); |
||
25 | |||
26 | $this->status->parseResponse($response); |
||
27 | } |
||
28 | |||
39 |
If you suppress an error, we recommend checking for the error condition explicitly: