| 1 | <?php |
||
| 13 | class DummyChannel |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * Faking the not conventional call queue_declare |
||
| 17 | * |
||
| 18 | * @param string $method Simple implementation to match our camelcase validation |
||
| 19 | * @param array $arguments Data list |
||
| 20 | * @return mixed |
||
| 21 | */ |
||
| 22 | public function __call($method, $arguments) |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Dummy function queue_declare |
||
| 32 | * @param string $queue tmp value |
||
| 33 | * @param bool $fooA tmp value |
||
| 34 | * @param bool $fooB tmp value |
||
| 35 | * @param bool $fooC tmp value |
||
| 36 | * @param bool $fooD tmp value |
||
| 37 | * @return void |
||
| 38 | */ |
||
| 39 | public function queueDeclare($queue, $fooA, $fooB, $fooC, $fooD) |
||
| 42 | } |
||
| 43 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.