Completed
Pull Request — develop (#521)
by
unknown
15:37
created
test/JobsTest/Factory/Repository/DefaultCategoriesBuilderFactoryTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
         $sm = $this->getServiceManagerMock();
81 81
         $sm->setService('ApplicationConfig', $appConfig);
82 82
 
83
-        $builder = $this->target->__invoke($sm,'irrelevant');
83
+        $builder = $this->target->__invoke($sm, 'irrelevant');
84 84
 
85 85
         $this->assertAttributeSame($expectModulePath, 'moduleConfigPath', $builder);
86 86
         $this->assertAttributeSame($expectGlobalPaths, 'globalConfigPaths', $builder);
Please login to merge, or discard this patch.
Jobs/test/JobsTest/Factory/Form/ActiveOrganizationSelectFactoryTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
         '@testCreateService' => ['mock' => ['__invoke' => ['count' => 1]]],
44 44
     ];
45 45
 
46
-    private $inheritance = [ FactoryInterface::class ];
46
+    private $inheritance = [FactoryInterface::class];
47 47
 
48 48
 
49 49
     public function testCreateService()
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
         $container = $this->getServiceManagerMock();
52 52
         $formElements = $this->getPluginManagerMock($container);
53 53
 
54
-        $this->target->__invoke($container,OrganizationSelect::class);
54
+        $this->target->__invoke($container, OrganizationSelect::class);
55 55
     }
56 56
 
57 57
     public function testServiceCreationWithoutPreSelectedOrganization()
Please login to merge, or discard this patch.
module/Jobs/test/JobsTest/Factory/Form/InputFilter/TestJobLocationEdit.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,9 +52,9 @@
 block discarded – undo
52 52
 
53 53
     public function testTrimAndStripTagsFromJobTitle()
54 54
     {
55
-        $expected="title (m/w)";
55
+        $expected = "title (m/w)";
56 56
         $output = $this->inputFilter->getInputs();
57 57
         $filter = $output['title']->getFilterChain();
58
-        $this->assertEquals($expected,  $filter->filter(' <b>title</b> (m/w)'));
58
+        $this->assertEquals($expected, $filter->filter(' <b>title</b> (m/w)'));
59 59
     }
60 60
 }
Please login to merge, or discard this patch.
module/Jobs/test/JobsTest/Factory/Form/MultipostingSelectFactoryTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -110,7 +110,7 @@
 block discarded – undo
110 110
 
111 111
         $target = new MultipostingSelectFactory();
112 112
 
113
-        $select = $target->__invoke($services,'irrelevant');
113
+        $select = $target->__invoke($services, 'irrelevant');
114 114
 
115 115
         $this->assertInstanceOf('\Jobs\Form\MultipostingSelect', $select);
116 116
         $this->assertEquals('false', $select->getAttribute('data-autoinit'));
Please login to merge, or discard this patch.
Jobs/test/JobsTest/Factory/Form/HiringOrganizationSelectFactoryTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
         $org = $this->user->getOrganization();
113 113
         $org->expects($this->once())->method('hasAssociation')->willReturn(false);
114 114
 
115
-        $select = $this->target->__invoke($this->services,'irrelevant');
115
+        $select = $this->target->__invoke($this->services, 'irrelevant');
116 116
 
117 117
         $this->assertInstanceOf('\Jobs\Form\HiringOrganizationSelect', $select);
118 118
     }
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
         $org = $this->user->getOrganization();
126 126
         $org->expects($this->once())->method('hasAssociation')->willReturn(false);
127 127
 
128
-        $select = $this->target->__invoke($this->services,'irrelevant');
128
+        $select = $this->target->__invoke($this->services, 'irrelevant');
129 129
 
130 130
         $this->assertEquals(array(), $select->getValueOptions());
131 131
     }
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
             'testOrg1' => 'testOrg1.name|org1.city|org1.street|org1.number|'
162 162
         );
163 163
 
164
-        $select = $this->target->__invoke($this->services,'irrelevant');
164
+        $select = $this->target->__invoke($this->services, 'irrelevant');
165 165
 
166 166
         $actual = $select->getValueOptions();
167 167
 
Please login to merge, or discard this patch.
module/Jobs/test/JobsTest/Factory/View/Helper/JobUrlFactoryTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
 			->with('ViewHelperManager')
72 72
 			->willReturn($helpers)
73 73
 		;
74
-        $service = $target->__invoke($sm,'irrelevant');
74
+        $service = $target->__invoke($sm, 'irrelevant');
75 75
 
76 76
         $this->assertInstanceOf('\Jobs\View\Helper\JobUrl', $service);
77 77
         $this->assertAttributeSame($urlHelper, 'urlHelper', $service);
Please login to merge, or discard this patch.
module/Jobs/test/JobsTest/Factory/View/Helper/ApplyUrlFactoryTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
 		    ->with('ViewHelperManager')
71 71
 		    ->willReturn($helpers);
72 72
 	    
73
-        $service = $target->__invoke($sm,'irrelevant');
73
+        $service = $target->__invoke($sm, 'irrelevant');
74 74
 
75 75
         $this->assertInstanceOf('\Jobs\View\Helper\ApplyUrl', $service);
76 76
         $this->assertAttributeSame($urlHelper, 'urlHelper', $service);
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/Listener/DeleteJobFactoryTest.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
         '@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.