for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* dummy job producer
*/
namespace Graviton\RabbitMqBundle\Producer;
use OldSound\RabbitMqBundle\RabbitMq\Producer;
use OldSound\RabbitMqBundle\RabbitMq\ProducerInterface;
* @author List of contributors <https://github.com/libgraviton/graviton/graphs/contributors>
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @link http://swisscom.ch
class DummyChannel
{
* Faking the not conventional call queue_declare
*
* @param string $method Simple implementation to match our camelcase validation
* @param array $arguments Data list
* @return mixed
public function __call($method, $arguments)
$method = 'queueDeclare';
if (isset($this->$method)) {
call_user_func_array($this->$method, array_merge([&$this], $arguments));
}
* Dummy function queue_declare
* @param string $queue tmp value
* @param bool $false tmp value
* @param bool $true tmp value
* @return void
public function queueDeclare($queue, $false, $true, $false, $false)
$queue
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
$false
$true
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.