@@ -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); |
@@ -139,7 +139,7 @@ |
||
139 | 139 | ->with($this->equalTo($userId), $this->equalTo($limit)) |
140 | 140 | ->willReturn($cursor); |
141 | 141 | |
142 | - $actual = $this->listListener->getItems($user, $view , $limit); |
|
142 | + $actual = $this->listListener->getItems($user, $view, $limit); |
|
143 | 143 | |
144 | 144 | $this->assertInternalType('array', $actual); |
145 | 145 | $this->assertCount(1, $actual); |
@@ -37,9 +37,9 @@ discard block |
||
37 | 37 | |
38 | 38 | private $target = AdminCategoriesController::class; |
39 | 39 | |
40 | - private $inheritance = [ AbstractActionController::class ]; |
|
40 | + private $inheritance = [AbstractActionController::class]; |
|
41 | 41 | |
42 | - private function getConfiguredServiceManager($rootExists=true, $postRequest = false) |
|
42 | + private function getConfiguredServiceManager($rootExists = true, $postRequest = false) |
|
43 | 43 | { |
44 | 44 | $form = $this |
45 | 45 | ->getMockBuilder(CategoriesContainer::class) |
@@ -70,11 +70,11 @@ discard block |
||
70 | 70 | ->setMethods(['__invoke'])->getMock(); |
71 | 71 | $helper->expects($this->once())->method('__invoke')->with($subForm); |
72 | 72 | |
73 | - $viewHelpers = $this->createPluginManagerMock(['summaryForm' => $helper],$sm); |
|
73 | + $viewHelpers = $this->createPluginManagerMock(['summaryForm' => $helper], $sm); |
|
74 | 74 | } else { |
75 | - $viewHelpers = $this->createPluginManagerMock([],$sm); |
|
75 | + $viewHelpers = $this->createPluginManagerMock([], $sm); |
|
76 | 76 | } |
77 | - $forms = $this->createPluginManagerMock(['Jobs/AdminCategories' => $form],$sm); |
|
77 | + $forms = $this->createPluginManagerMock(['Jobs/AdminCategories' => $form], $sm); |
|
78 | 78 | |
79 | 79 | $repository = $this->getMockBuilder(AbstractRepository::class) |
80 | 80 | ->disableOriginalConstructor() |