Completed
Push — develop ( a73e2c...030f10 )
by Carsten
28:43 queued 13:31
created
module/Auth/test/AuthTest/Listener/TokenListenerTest.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -45,22 +45,22 @@
 block discarded – undo
45 45
 
46 46
 
47 47
         $callback = $this->getMockBuilder('\Zend\Stdlib\CallbackHandler')
48
-                         ->disableOriginalConstructor()
49
-                         ->getMock();
48
+                            ->disableOriginalConstructor()
49
+                            ->getMock();
50 50
 
51 51
         $events = $this->getMockBuilder('\Zend\EventManager\SharedEventManagerInterface')
52
-                       ->setMethods(array('attach'))
53
-                       ->getMockForAbstractClass();
52
+                        ->setMethods(array('attach'))
53
+                        ->getMockForAbstractClass();
54 54
 
55 55
         $events->expects($this->once())
56
-               ->method('attach')
57
-               ->with($expId, $expEvent, $expCallback, $expPriority)
58
-               ->willReturn($expCallback);
56
+                ->method('attach')
57
+                ->with($expId, $expEvent, $expCallback, $expPriority)
58
+                ->willReturn($expCallback);
59 59
 
60 60
         $events->expects($this->once())
61
-               ->method('detach')
62
-               ->with($expCallback, 'Zend\Mvc\Application')
63
-               ->willReturn(true);
61
+                ->method('detach')
62
+                ->with($expCallback, 'Zend\Mvc\Application')
63
+                ->willReturn(true);
64 64
 
65 65
 
66 66
         $target->attachShared($events);
Please login to merge, or discard this patch.
module/Auth/test/AuthTest/Listener/DeactivatedUserListenerTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@
 block discarded – undo
129 129
                 [$this->equalTo(MvcEvent::EVENT_DISPATCH_ERROR), $this->identicalTo([$this->listener, 'prepareExceptionViewModel'], $this->identicalTo(null))],
130 130
                 [$this->equalTo(MvcEvent::EVENT_RENDER_ERROR), $this->identicalTo([$this->listener, 'prepareExceptionViewModel'], $this->identicalTo(null))],
131 131
                 [$this->equalTo(MvcEvent::EVENT_ROUTE), $this->identicalTo([$this->listener, 'checkDeactivatedUser'], $this->identicalTo(null))]
132
-             );
132
+                );
133 133
         
134 134
         $this->listener->attach($eventManager);
135 135
     }
Please login to merge, or discard this patch.
module/Auth/test/TestConfig.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -8,9 +8,9 @@  discard block
 block discarded – undo
8 8
 use PHPUnit\Framework\TestCase;
9 9
     'modules' => array_merge($commonModules,array(
10 10
         'Core',
11
-	    'Auth',
12
-	    'Jobs',
13
-	    'Organizations',
11
+        'Auth',
12
+        'Jobs',
13
+        'Organizations',
14 14
     )),
15 15
 
16 16
     // These are various options for the listeners attached to the ModuleManager
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
     //     ),
69 69
     // )
70 70
 
71
-   // Initial configuration with which to seed the ServiceManager.
72
-   // Should be compatible with Zend\ServiceManager\Config.
73
-   // 'service_manager' => array(),
71
+    // Initial configuration with which to seed the ServiceManager.
72
+    // Should be compatible with Zend\ServiceManager\Config.
73
+    // 'service_manager' => array(),
74 74
 );
Please login to merge, or discard this patch.
module/Core/test/CoreConfig.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
     //     ),
61 61
     // )
62 62
 
63
-   // Initial configuration with which to seed the ServiceManager.
64
-   // Should be compatible with Zend\ServiceManager\Config.
65
-   // 'service_manager' => array(),
63
+    // Initial configuration with which to seed the ServiceManager.
64
+    // Should be compatible with Zend\ServiceManager\Config.
65
+    // 'service_manager' => array(),
66 66
 );
Please login to merge, or discard this patch.
Core/test/CoreTest/Controller/Plugin/PaginationBuilder/GetResultTest.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -47,17 +47,17 @@  discard block
 block discarded – undo
47 47
         $this->pluginMock = $pluginMock;
48 48
 
49 49
         $controller = $this->getMockBuilder('\Zend\Mvc\Controller\AbstractController')
50
-                           ->setMethods(['getRequest', 'plugin'])
51
-                           ->getMockForAbstractClass();
50
+                            ->setMethods(['getRequest', 'plugin'])
51
+                            ->getMockForAbstractClass();
52 52
 
53 53
         $controller->expects($this->any())->method('getRequest')->willReturn($this->request);
54 54
         $controller->expects($this->any())->method('plugin')->will($this->returnValueMap(
55 55
             [
56
-                                                                           ['paginator', null, $pluginMock],
57
-                                                                           ['paginationParams', null, $pluginMock],
58
-                                                                           ['searchform', null, $pluginMock],
59
-                                                                       ]
60
-                                                                   ));
56
+                                                                            ['paginator', null, $pluginMock],
57
+                                                                            ['paginationParams', null, $pluginMock],
58
+                                                                            ['searchform', null, $pluginMock],
59
+                                                                        ]
60
+                                                                    ));
61 61
 
62 62
         $this->target->setController($controller);
63 63
     }
@@ -117,10 +117,10 @@  discard block
 block discarded – undo
117 117
 
118 118
         $this->assertAttributeEquals(
119 119
             new Parameters([
120
-                 'a' => 'test', 'b' => ['test1', 'test2'],
121
-                 'c' => ['test1', 'test2'],
122
-                 'd' => ['test1' => 1, 'test2' => 1]
123
-             ]),
120
+                    'a' => 'test', 'b' => ['test1', 'test2'],
121
+                    'c' => ['test1', 'test2'],
122
+                    'd' => ['test1' => 1, 'test2' => 1]
123
+                ]),
124 124
             'parameters',
125 125
             $this->target
126 126
         );
Please login to merge, or discard this patch.
module/Core/test/CoreTest/Controller/Plugin/CreatePaginatorTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@
 block discarded – undo
98 98
             ->getMock()
99 99
         ;
100 100
         $container = $this->getMockBuilder(ContainerInterface::class)
101
-                          ->getMock();
101
+                            ->getMock();
102 102
         $container->expects($this->once())
103 103
             ->method('get')
104 104
             ->with('ServiceManager')
Please login to merge, or discard this patch.
module/Core/test/CoreTest/Controller/Plugin/SearchFormTest.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -126,14 +126,14 @@
 block discarded – undo
126 126
 
127 127
         $formData = ['data' => 'value'];
128 128
         $hydrator = $this->getMockBuilder(HydratorInterface::class)
129
-                         ->setMethods(['hydrate', 'extract'])
130
-                         ->getMockForAbstractClass();
129
+                            ->setMethods(['hydrate', 'extract'])
130
+                            ->getMockForAbstractClass();
131 131
         $hydrator->expects($this->once())->method('extract')->with($this->isInstanceOf(Parameters::class))->willReturn($formData);
132 132
         $hydrator->expects($this->once())->method('hydrate')->with($formData, $this->isInstanceOf(Parameters::class));
133 133
 
134 134
         $form = $this->getMockBuilder(Form::class)
135
-                     ->setMethods(['getHydrator', 'setData'])
136
-                     ->getMock();
135
+                        ->setMethods(['getHydrator', 'setData'])
136
+                        ->getMock();
137 137
         $form->expects($this->once())->method('gethydrator')->willReturn($hydrator);
138 138
         $form->expects($this->once())->method('setData')->with($formData);
139 139
         $this->formElementManagerMock
Please login to merge, or discard this patch.
module/Core/test/CoreTest/Controller/AdminControllerTest.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,8 +44,8 @@
 block discarded – undo
44 44
     protected function setUp()
45 45
     {
46 46
         $events = $this->getMockBuilder(EventManager::class)
47
-                       ->setMethods(['getEvent', 'trigger'])
48
-                       ->getMock();
47
+                        ->setMethods(['getEvent', 'trigger'])
48
+                        ->getMock();
49 49
         $this->target = new AdminController($events);
50 50
     }
51 51
 
Please login to merge, or discard this patch.
EventManagerAbstractFactory/InheritanceAndConfigMergingTest.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -47,16 +47,16 @@  discard block
 block discarded – undo
47 47
         $services = new ServiceManager();
48 48
         $this->assertTrue(
49 49
             $this->target->canCreate(
50
-                 $services,
51
-                 'Any.string/Value/Events'
52
-             ),
50
+                    $services,
51
+                    'Any.string/Value/Events'
52
+                ),
53 53
             'Checking correct name failed.'
54 54
         );
55 55
         $this->assertFalse(
56 56
             $this->target->canCreate(
57
-                 $services,
58
-                 'Any.string.not.ending/in/Events.but has it in the middle!'
59
-             ),
57
+                    $services,
58
+                    'Any.string.not.ending/in/Events.but has it in the middle!'
59
+                ),
60 60
             'Checking invalid name failed.'
61 61
         );
62 62
     }
@@ -98,8 +98,8 @@  discard block
 block discarded – undo
98 98
 
99 99
         /* @var EventManagerAbstractFactory|\PHPUnit_Framework_MockObject_MockObject $target */
100 100
         $target = $this->getMockBuilder('\Core\Factory\EventManager\EventManagerAbstractFactory')
101
-                       ->setMethods([ 'createEventManager', 'attachListeners' ])
102
-                       ->getMock();
101
+                        ->setMethods([ 'createEventManager', 'attachListeners' ])
102
+                        ->getMock();
103 103
 
104 104
         $services = new ServiceManager();
105 105
         $services->setService('Config', $config);
Please login to merge, or discard this patch.