| Conditions | 2 |
| Paths | 2 |
| Total Lines | 9 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | public function __call($method, array $arguments) |
||
| 18 | { |
||
| 19 | if (!in_array(substr($method, 2), $this->queuedEventNames)) { |
||
| 20 | throw new \BadMethodCallException; |
||
| 21 | } |
||
| 22 | |||
| 23 | // TODO, obviously use a real queue message producer |
||
| 24 | file_put_contents(tempnam(sys_get_temp_dir(), 'queue'), serialize($event)); |
||
| 25 | } |
||
| 26 | |||
| 32 |
This check marks private properties in classes that are never used. Those properties can be removed.