Completed
Push — master ( 922897...9fac8c )
by Ryota
08:39
created
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.
Event/JobEvent.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,6 @@
 block discarded – undo
26 26
     /**
27 27
      * JobEvent constructor.
28 28
      * @param JobInterface $job
29
-     * @param bool $executedStatus
30 29
      */
31 30
     public function __construct(JobInterface $job)
32 31
     {
Please login to merge, or discard this patch.
Entity/SqsWorker.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
     }
73 73
 
74 74
     /**
75
-     * @param $server
75
+     * @param string $server
76 76
      * @return $this
77 77
      */
78 78
     public function setServer($server)
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
     }
83 83
 
84 84
     /**
85
-     * @return mixed
85
+     * @return string
86 86
      */
87 87
     public function getQueue()
88 88
     {
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
     }
101 101
 
102 102
     /**
103
-     * @return mixed
103
+     * @return string
104 104
      */
105 105
     public function getPrefix()
106 106
     {
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
 
121 121
 
122 122
     /**
123
-     * @return mixed
123
+     * @return integer
124 124
      */
125 125
     public function getProcId()
126 126
     {
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
     }
147 147
 
148 148
     /**
149
-     * @return mixed
149
+     * @return \DateTime
150 150
      */
151 151
     public function getCreatedAt()
152 152
     {
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
     }
165 165
 
166 166
     /**
167
-     * @return mixed
167
+     * @return \DateTime
168 168
      */
169 169
     public function getUpdatedAt()
170 170
     {
Please login to merge, or discard this patch.
Controller/DefaultController.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Created by PhpStorm.
4
- * User: polidog
5
- * Date: 2016/03/14
6
- */
3
+     * Created by PhpStorm.
4
+     * User: polidog
5
+     * Date: 2016/03/14
6
+     */
7 7
 
8 8
 namespace Tavii\SQSJobQueueBundle\Controller;
9 9
 
Please login to merge, or discard this patch.