Passed
Pull Request — master (#600)
by Mathias
13:24
created
module/Jobs/src/View/Helper/ApplyUrl.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
 
78 78
     public function __invoke(Job $jobEntity, $options = [])
79 79
     {
80
-        $options= array_merge($this->options, $options);
80
+        $options = array_merge($this->options, $options);
81 81
 
82 82
         $ats = $jobEntity->getAtsMode();
83 83
 
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
         $urlHelper = $this->urlHelper;
91 91
 
92 92
         if ($ats->isIntern() || $ats->isEmail()) {
93
-            $query = [ 'subscriberUri' => $serverUrlHelper(array()) . '/subscriber/' . 1 ];
93
+            $query = ['subscriberUri' => $serverUrlHelper(array()).'/subscriber/'.1];
94 94
             $route = 'lang/apply';
95 95
             $params = [
96 96
                 'applyId' => $jobEntity->getApplyId(),
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
         }
107 107
 
108 108
         if ($options['linkOnly']) {
109
-            $result=$url;
109
+            $result = $url;
110 110
             if ($options['absolute'] && !preg_match('~^https?://~', $url)) {
111 111
                 $result = $serverUrlHelper($url);
112 112
             }
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
     {
126 126
         foreach ($options as $key=>$val) {
127 127
             if (array_key_exists($this->options, $key)) {
128
-                $this->options[$key]=$val;
128
+                $this->options[$key] = $val;
129 129
             }
130 130
         }
131 131
     }
Please login to merge, or discard this patch.
module/Core/test/CoreTest/Queue/Strategy/IdleSleepStrategyTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
 
33 33
     private $target = IdleSleepStrategy::class;
34 34
 
35
-    private $inheritance = [ AbstractStrategy::class ];
35
+    private $inheritance = [AbstractStrategy::class];
36 36
 
37 37
 
38 38
     public function testSetDuration()
Please login to merge, or discard this patch.
module/Core/test/CoreTest/Queue/Exception/RecoverableExceptionTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,5 +27,5 @@
 block discarded – undo
27 27
 
28 28
     private $target = RecoverableJobException::class;
29 29
 
30
-    private $inheritance = [ AbstractJobException::class ];
30
+    private $inheritance = [AbstractJobException::class];
31 31
 }
Please login to merge, or discard this patch.
module/Core/test/CoreTest/Queue/Exception/FatalJobExceptionTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,5 +27,5 @@
 block discarded – undo
27 27
 
28 28
     private $target = FatalJobException::class;
29 29
 
30
-    private $inheritance = [ AbstractJobException::class ];
30
+    private $inheritance = [AbstractJobException::class];
31 31
 }
Please login to merge, or discard this patch.
module/Core/test/CoreTest/Queue/Exception/AbstractJobExceptionTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
         '@testConstruction' => false,
32 32
     ];
33 33
 
34
-    private $inheritance = [ JobExceptionInterface::class, \RuntimeException::class ];
34
+    private $inheritance = [JobExceptionInterface::class, \RuntimeException::class];
35 35
 
36 36
     public function provideConstructionTestData()
37 37
     {
Please login to merge, or discard this patch.
module/Core/test/CoreTest/Queue/Worker/MongoWorkerTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,12 +41,12 @@
 block discarded – undo
41 41
     private $target = [
42 42
         MongoWorker::class,
43 43
         'setupConstructorArgs',
44
-        '@testInheritance' => [ 'as_reflection' => true ]
44
+        '@testInheritance' => ['as_reflection' => true]
45 45
     ];
46 46
 
47 47
     private $eventsMock;
48 48
 
49
-    private $inheritance = [ AbstractWorker::class ];
49
+    private $inheritance = [AbstractWorker::class];
50 50
 
51 51
     private function setupConstructorArgs()
52 52
     {
Please login to merge, or discard this patch.
module/Core/test/CoreTest/Queue/Controller/MongoQueueControllerTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,5 +30,5 @@
 block discarded – undo
30 30
         'as_reflection' => true,
31 31
     ];
32 32
 
33
-    private $inheritance = [ AbstractWorkerController::class ];
33
+    private $inheritance = [AbstractWorkerController::class];
34 34
 }
Please login to merge, or discard this patch.
Core/test/CoreTest/Queue/Controller/MongoQueueControllerFactoryTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
 
33 33
     private $target = MongoQueueControllerFactory::class;
34 34
 
35
-    private $inheritance = [ FactoryInterface::class ];
35
+    private $inheritance = [FactoryInterface::class];
36 36
 
37 37
     public function testCreateService()
38 38
     {
Please login to merge, or discard this patch.
Core/test/CoreTest/Queue/Controller/MongoQueueListControllerFactoryTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
 
31 31
     private $target = MongoQueueListControllerFactory::class;
32 32
 
33
-    private $inheritance = [ FactoryInterface::class ];
33
+    private $inheritance = [FactoryInterface::class];
34 34
 
35 35
     public function testCreateService()
36 36
     {
Please login to merge, or discard this patch.