Passed
Push — master ( c58a40...6d37ad )
by Mathias
10:02 queued 04:27
created
module/Jobs/test/Bootstrap.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-$testConfig = include __DIR__ . '/TestConfig.php';
3
+$testConfig = include __DIR__.'/TestConfig.php';
4 4
 
5
-require_once __DIR__ . '/../../../test/Bootstrap.php';
5
+require_once __DIR__.'/../../../test/Bootstrap.php';
Please login to merge, or discard this patch.
Factory/Controller/ApiJobListByOrganizationControllerFactoryTest.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -45,13 +45,13 @@
 block discarded – undo
45 45
                                 ->getMock();
46 46
 
47 47
         $repositoriesMock = $this->getMockBuilder('Core\Repository\RepositoryService')
48
-                               ->disableOriginalConstructor()
49
-                               ->getMock();
48
+                                ->disableOriginalConstructor()
49
+                                ->getMock();
50 50
 
51 51
         $repositoriesMock->expects($this->once())
52
-                       ->method('get')
53
-                       ->with('Jobs/Job')
54
-                       ->willReturn($jobRepositoryMock);
52
+                        ->method('get')
53
+                        ->with('Jobs/Job')
54
+                        ->willReturn($jobRepositoryMock);
55 55
 
56 56
         $apiJobDehydratorMock = $this->getMockBuilder('Jobs\Model\ApiJobDehydrator')
57 57
                                 ->disableOriginalConstructor()
Please login to merge, or discard this patch.
Jobs/test/JobsTest/Factory/Controller/JobboardControllerFactoryTest.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,8 +46,8 @@
 block discarded – undo
46 46
             ->getMock();
47 47
 
48 48
         $repositoriesMock = $this->getMockBuilder('Core\Repository\RepositoryService')
49
-                                 ->disableOriginalConstructor()
50
-                                 ->getMock();
49
+                                    ->disableOriginalConstructor()
50
+                                    ->getMock();
51 51
 
52 52
         $repositoriesMock->expects($this->once())
53 53
             ->method('get')
Please login to merge, or discard this patch.
module/Jobs/test/JobsTest/Factory/View/Helper/AdminEditLinkFactoryTest.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
         ]
44 44
     ];
45 45
 
46
-    private $inheritance = [ FactoryInterface::class ];
46
+    private $inheritance = [FactoryInterface::class];
47 47
 
48 48
     public function testInvoke()
49 49
     {
Please login to merge, or discard this patch.
module/Jobs/test/JobsTest/Factory/Service/JobsPublisherFactoryTest.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,8 +31,8 @@
 block discarded – undo
31 31
     {
32 32
         $this->testedObj = new JobsPublisherFactory();
33 33
         $this->mockJobsOptions = $this->getMockBuilder('Jobs\Options\ModuleOptions')
34
-                     ->disableOriginalConstructor()
35
-                     ->getMock();
34
+                        ->disableOriginalConstructor()
35
+                        ->getMock();
36 36
     }
37 37
 
38 38
     /**
Please login to merge, or discard this patch.
module/Jobs/test/JobsTest/Factory/Listener/DeleteJobFactoryTest.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
         '@testCreateService' => ['mock' => ['__invoke']],
44 44
     ];
45 45
 
46
-    private $inheritance = [ FactoryInterface::class ];
46
+    private $inheritance = [FactoryInterface::class];
47 47
 
48 48
     public function testInvokation()
49 49
     {
Please login to merge, or discard this patch.
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,8 +59,8 @@
 block discarded – undo
59 59
         ;
60 60
 
61 61
         $auth->expects($this->once())
62
-             ->method('getUser')
63
-             ->will($this->returnValue($user))
62
+                ->method('getUser')
63
+                ->will($this->returnValue($user))
64 64
         ;
65 65
 
66 66
         $repository = $this->getMockBuilder(Job::class)->disableOriginalConstructor()->getMock();
Please login to merge, or discard this patch.
Jobs/test/JobsTest/Factory/Listener/LoadActiveOrganizationsFactoryTest.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
         '@testCreateService' => ['mock' => ['__invoke' => ['count' => 1]]],
42 42
     ];
43 43
 
44
-    private $inheritance = [ FactoryInterface::class ];
44
+    private $inheritance = [FactoryInterface::class];
45 45
 	
46 46
 
47 47
     public function testServiceCreation()
Please login to merge, or discard this patch.
test/JobsTest/Factory/Paginator/ActiveOrganizationsPaginatorFactoryTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
         '@testCreateService' => ['mock' => ['__invoke' => ['count' => 1]]],
43 43
     ];
44 44
 
45
-    private $inheritance = [ FactoryInterface::class ];
45
+    private $inheritance = [FactoryInterface::class];
46 46
 	
47 47
     public function testServiceCreation()
48 48
     {
Please login to merge, or discard this patch.
module/Jobs/test/JobsTest/Repository/CategoriesTest.php 2 patches
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -61,16 +61,16 @@  discard block
 block discarded – undo
61 61
             ->getMock();
62 62
 
63 63
         $dm = $this->getMockBuilder(DocumentManager::class)
64
-                   ->disableOriginalConstructor()
64
+                    ->disableOriginalConstructor()
65 65
                     ->setMethods(['getEventManager'])
66
-                   ->getMock();
66
+                    ->getMock();
67 67
 
68 68
         $dm->expects($this->once())->method('getEventManager')->willReturn($evm);
69 69
 
70 70
         $persister = $this->getMockBuilder(DocumentPersister::class)
71
-                          ->disableOriginalConstructor()
72
-                          ->setMethods(['load', 'loadAll'])
73
-                          ->getMock();
71
+                            ->disableOriginalConstructor()
72
+                            ->setMethods(['load', 'loadAll'])
73
+                            ->getMock();
74 74
 
75 75
         $cursor = $this->getMockBuilder(Cursor::class)
76 76
                         ->disableOriginalConstructor()
@@ -90,8 +90,8 @@  discard block
 block discarded – undo
90 90
         $uow->expects($this->exactly(2))->method('getDocumentPersister')->willReturn($persister);
91 91
 
92 92
         $meta = $this->getMockBuilder(ClassMetadata::class)
93
-                     ->disableOriginalConstructor()
94
-                     ->getMock();
93
+                        ->disableOriginalConstructor()
94
+                        ->getMock();
95 95
         $meta->name = 'idonotcare';
96 96
 
97 97
         return [$dm, $uow, $meta];
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
         Categories::class,
46 46
         'args' => false,
47 47
         'mock' => ['getService', 'store'],
48
-        '@testInheritance' => [Categories::class, 'as_reflection' => true ],
48
+        '@testInheritance' => [Categories::class, 'as_reflection' => true],
49 49
         '@testFindByCreatesDefaultCategory' => [
50 50
             'args' => 'setupTargetArgsForFindTests',
51 51
             'mock' => ['createDefaultCategory' => 2],
Please login to merge, or discard this patch.