@@ -46,7 +46,7 @@ |
||
| 46 | 46 | */ |
| 47 | 47 | protected function getContainer() |
| 48 | 48 | { |
| 49 | - if (! $this->kernel instanceof KernelInterface) { |
|
| 49 | + if (!$this->kernel instanceof KernelInterface) { |
|
| 50 | 50 | $this->kernel = $this->createKernel(); |
| 51 | 51 | $this->kernel->boot(); |
| 52 | 52 | } |
@@ -41,7 +41,7 @@ |
||
| 41 | 41 | $client->purgeQueue(array( |
| 42 | 42 | 'QueueUrl' => $result['QueueUrl'] |
| 43 | 43 | )); |
| 44 | - $output->writeln('<info>pugrge queue url</info>: '. $result['QueueUrl']); |
|
| 44 | + $output->writeln('<info>pugrge queue url</info>: '.$result['QueueUrl']); |
|
| 45 | 45 | } else { |
| 46 | 46 | $output->writeln('cancel purge...'); |
| 47 | 47 | } |
@@ -16,7 +16,7 @@ |
||
| 16 | 16 | { |
| 17 | 17 | $this->setName('sqs_job_queue:queue-list') |
| 18 | 18 | ->setDescription('list queue') |
| 19 | - ->addOption('queueNamePrefix', 'Q',InputOption::VALUE_OPTIONAL, 'QueueNamePrefix', '') |
|
| 19 | + ->addOption('queueNamePrefix', 'Q', InputOption::VALUE_OPTIONAL, 'QueueNamePrefix', '') |
|
| 20 | 20 | ; |
| 21 | 21 | } |
| 22 | 22 | |
@@ -43,7 +43,7 @@ |
||
| 43 | 43 | $client->deleteQueue(array( |
| 44 | 44 | 'QueueUrl' => $result['QueueUrl'] |
| 45 | 45 | )); |
| 46 | - $output->writeln('<info>delete queue url</info>: '. $result['QueueUrl']); |
|
| 46 | + $output->writeln('<info>delete queue url</info>: '.$result['QueueUrl']); |
|
| 47 | 47 | } else { |
| 48 | 48 | $output->writeln('cancel purge...'); |
| 49 | 49 | } |
@@ -18,7 +18,7 @@ |
||
| 18 | 18 | $storage = Phake::mock('Tavii\SQSJobQueueBundle\Storage\DoctrineStorage'); |
| 19 | 19 | $container = Phake::mock('Symfony\Component\DependencyInjection\Container'); |
| 20 | 20 | |
| 21 | - $entity = new TestEntity('test','test.com', 12345); |
|
| 21 | + $entity = new TestEntity('test', 'test.com', 12345); |
|
| 22 | 22 | |
| 23 | 23 | |
| 24 | 24 | Phake::when($storage)->all()->thenReturn(array( |
@@ -79,7 +79,7 @@ |
||
| 79 | 79 | $queue = new Queue($baseQueue, $dispatcher, $kernelOptions); |
| 80 | 80 | |
| 81 | 81 | $job = new DummyContainerAwareJob(); |
| 82 | - $message = new Message(array(),$job,'test.com'); |
|
| 82 | + $message = new Message(array(), $job, 'test.com'); |
|
| 83 | 83 | |
| 84 | 84 | Phake::when($baseQueue)->delete($message) |
| 85 | 85 | ->thenReturn(true); |