Passed
Push — master ( 0fbfd0...0a4722 )
by Carsten
11:27
created
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.
module/Core/test/CoreTest/Queue/Controller/MongoQueueListControllerTest.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
         ],
45 45
     ];
46 46
 
47
-    private $inheritance = [ AbstractConsoleController::class ];
47
+    private $inheritance = [AbstractConsoleController::class];
48 48
 
49 49
     private function injectConstructorDependencies()
50 50
     {
@@ -149,11 +149,11 @@  discard block
 block discarded – undo
149 149
         $lineTmpl = '%-20s %s';
150 150
         $console = $this->target->getConsole();
151 151
         $console->expects($this->exactly(7))->method('writeLine')->withConsecutive(
152
-            [ get_class($job) . ' [ test ]' ],
153
-            [ sprintf($lineTmpl, 'Created', $date->format('Y-m-d H:i:s')) ],
154
-            [ sprintf($lineTmpl, 'Executed', $date->format('Y-m-d H:i:s')) ],
155
-            [ sprintf($lineTmpl, 'Scheduled', $date->format('Y-m-d H:i:s')) ],
156
-            [ sprintf($lineTmpl, 'Tries', $jobs[0]['tried']) ]
152
+            [get_class($job).' [ test ]'],
153
+            [sprintf($lineTmpl, 'Created', $date->format('Y-m-d H:i:s'))],
154
+            [sprintf($lineTmpl, 'Executed', $date->format('Y-m-d H:i:s'))],
155
+            [sprintf($lineTmpl, 'Scheduled', $date->format('Y-m-d H:i:s'))],
156
+            [sprintf($lineTmpl, 'Tries', $jobs[0]['tried'])]
157 157
         )->willReturn(null);
158 158
 
159 159
         $this->assertEmpty($this->target->listAction());
Please login to merge, or discard this patch.