Completed
Push — master ( 4abd22...3f500d )
by Matthew
14:32 queued 09:32
created
Tests/StaticJobManager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
     public function save($job) {
66 66
         if (!$job->getId()) {
67 67
             $job->setId($this->uniqeId);
68
-            $this->jobs[$job->getWorkerName()][$this->uniqeId]  = $job;
68
+            $this->jobs[$job->getWorkerName()][$this->uniqeId] = $job;
69 69
             if ($this->enableSorting) {
70 70
                 uasort($this->jobs[$job->getWorkerName()], array($this, 'compareJobPriority'));
71 71
             }
Please login to merge, or discard this patch.
Tests/bootstrap.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-$file = __DIR__.'/../vendor/autoload.php';
12
+$file = __DIR__ . '/../vendor/autoload.php';
13 13
 if (!file_exists($file)) {
14 14
     throw new RuntimeException('Install dependencies to run test suite.');
15 15
 }
Please login to merge, or discard this patch.
BeanStalkd/JobManager.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -115,8 +115,7 @@
 block discarded – undo
115 115
         if ($priority) {
116 116
             $this->assertEquals($priority, $job->getPriority(),
117 117
                     "Priority should be the same.");
118
-        }
119
-        else {
118
+        } else {
120 119
             $this->assertNull($job->getPriority(), "Priority should be null");
121 120
         }
122 121
 
Please login to merge, or discard this patch.