Completed
Push — master ( f4df47...244d2b )
by Ryota
16:21 queued 14:06
created
Entity/SqsWorker.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
     }
63 63
 
64 64
     /**
65
-     * @param $server
65
+     * @param string $server
66 66
      * @return $this
67 67
      */
68 68
     public function setServer($server)
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
     }
81 81
 
82 82
     /**
83
-     * @param $queue
83
+     * @param string $queue
84 84
      * @return $this
85 85
      */
86 86
     public function setQueue($queue)
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
     }
91 91
 
92 92
     /**
93
-     * @return mixed
93
+     * @return integer
94 94
      */
95 95
     public function getProcId()
96 96
     {
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
     }
117 117
 
118 118
     /**
119
-     * @return mixed
119
+     * @return \DateTime
120 120
      */
121 121
     public function getCreatedAt()
122 122
     {
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
     }
135 135
 
136 136
     /**
137
-     * @return mixed
137
+     * @return \DateTime
138 138
      */
139 139
     public function getUpdatedAt()
140 140
     {
Please login to merge, or discard this patch.
Queue.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -43,6 +43,7 @@
 block discarded – undo
43 43
 
44 44
     /**
45 45
      * {@inheritdoc}
46
+     * @param string $name
46 47
      */
47 48
     public function receive($name)
48 49
     {
Please login to merge, or discard this patch.
Storage/DoctrineStorage.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 use Tavii\SQSJobQueue\Storage\EntityInterface;
8 8
 use Tavii\SQSJobQueue\Storage\StorageInterface;
9 9
 use Tavii\SQSJobQueueBundle\Entity\SqsWorker;
10
-use Tavii\SQSJobQueueBundle\Exception\EntityNotFoundException;
11 10
 
12 11
 class DoctrineStorage implements StorageInterface
13 12
 {
Please login to merge, or discard this patch.
ContainerAwareJob.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
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
         }
Please login to merge, or discard this patch.
Command/QueuePurgeCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
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
         }
Please login to merge, or discard this patch.
Command/QueueListCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
Command/QueueDeleteCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
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
         }
Please login to merge, or discard this patch.
Tests/Command/WorkerStatusCommandTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
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(
Please login to merge, or discard this patch.
Tests/QueueTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.