Completed
Push — develop ( de8b61...91abce )
by Carsten
07:29
created
module/Jobs/test/JobsTest/Factory/JobEventManagerFactoryTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
 
53 53
         $services->expects($this->once())->method('get')->with('EventManager')->willReturn($eventManager);
54 54
 
55
-        $events = $target->__invoke($services,'irrelevant');
55
+        $events = $target->__invoke($services, 'irrelevant');
56 56
 
57 57
         $this->assertSame($eventManager, $events);
58 58
         $this->assertAttributeInstanceOf($expectedEventClass, 'eventPrototype', $events);
Please login to merge, or discard this patch.
Jobs/test/JobsTest/Factory/Auth/Dependency/ListListenerFactoryTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,6 +44,6 @@
 block discarded – undo
44 44
             ->willReturn($repositories);
45 45
         
46 46
         $listListenerFactory = new ListListenerFactory();
47
-        $this->assertInstanceOf(ListListener::class, $listListenerFactory->__invoke($serviceLocator,'irrelevant'));
47
+        $this->assertInstanceOf(ListListener::class, $listListenerFactory->__invoke($serviceLocator, 'irrelevant'));
48 48
     }
49 49
 }
Please login to merge, or discard this patch.
module/Jobs/test/JobsTest/Factory/ModuleOptionsFactoryTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
         $factory = new ModuleOptionsFactory;
40 40
         $defaultOption = new ModuleOptions(array());
41 41
 
42
-        $object = $factory->__invoke($serviceManager,'irrelevant');
42
+        $object = $factory->__invoke($serviceManager, 'irrelevant');
43 43
 
44 44
         $this->assertInstanceOf('Jobs\Options\ModuleOptions', $object);
45 45
 
Please login to merge, or discard this patch.
module/Jobs/test/JobsTest/Factory/Filter/ChannelPricesFactoryTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
      */
39 39
     public function testInvokation()
40 40
     {
41
-        $provider=new ProviderOptions();
41
+        $provider = new ProviderOptions();
42 42
 
43 43
         $serviceManagerMock = $this->getMockBuilder('\Zend\ServiceManager\ServiceManager')
44 44
                                    ->disableOriginalConstructor()
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
         
55 55
         $target = new ChannelPricesFactory();
56 56
 
57
-        $service = $target->__invoke($serviceManagerMock,'irrelevant');
57
+        $service = $target->__invoke($serviceManagerMock, 'irrelevant');
58 58
 
59 59
         $this->assertInstanceOf('\Jobs\Filter\ChannelPrices', $service);
60 60
     }
Please login to merge, or discard this patch.
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.