@@ -112,7 +112,7 @@ discard block |
||
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 |
||
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 |
||
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 |
@@ -71,7 +71,7 @@ |
||
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); |
@@ -70,7 +70,7 @@ |
||
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); |
@@ -43,7 +43,7 @@ |
||
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 | { |
@@ -43,7 +43,7 @@ |
||
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 | { |
@@ -61,7 +61,7 @@ |
||
61 | 61 | ); |
62 | 62 | |
63 | 63 | $target = new MailSenderFactory(); |
64 | - $listener = $target->__invoke($services,'irrelevant'); |
|
64 | + $listener = $target->__invoke($services, 'irrelevant'); |
|
65 | 65 | |
66 | 66 | $this->assertInstanceOf('\Jobs\Listener\MailSender', $listener); |
67 | 67 | $this->assertAttributeSame($mailService, 'mailer', $listener); |
@@ -41,7 +41,7 @@ |
||
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() |
@@ -42,7 +42,7 @@ |
||
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 | { |
@@ -62,7 +62,7 @@ |
||
62 | 62 | ->with('ViewHelperManager') |
63 | 63 | ->willReturn($helpers); |
64 | 64 | |
65 | - $service = $target->__invoke($serviceManagerMock,'irrelevant'); |
|
65 | + $service = $target->__invoke($serviceManagerMock, 'irrelevant'); |
|
66 | 66 | |
67 | 67 | $this->assertInstanceOf('\Jobs\Model\ApiJobDehydrator', $service); |
68 | 68 | $this->assertAttributeSame($urlHelper, 'url', $service); |