Completed
Push — master ( dc4dd2...16100a )
by Mathias
08:39
created
module/Jobs/test/JobsTest/Form/ListFilterLocationTest.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -25,9 +25,9 @@  discard block
 block discarded – undo
25 25
     public function testInit()
26 26
     {
27 27
         $target = $this->getMockBuilder('\Jobs\Form\ListFilterLocationFieldset')
28
-                       ->setMethods(array('add', 'parentInit'))
29
-                       ->disableOriginalConstructor()
30
-                       ->getMock();
28
+                        ->setMethods(array('add', 'parentInit'))
29
+                        ->disableOriginalConstructor()
30
+                        ->getMock();
31 31
 
32 32
         $add1 = [
33 33
             'name'    => 'l',
@@ -61,11 +61,11 @@  discard block
 block discarded – undo
61 61
         ];
62 62
 
63 63
         $target->expects($this->exactly(2))
64
-               ->method('add')
65
-               ->withConsecutive(
66
-                   [$add1],
67
-                   [$add2]
68
-               )->will($this->returnSelf());
64
+                ->method('add')
65
+                ->withConsecutive(
66
+                    [$add1],
67
+                    [$add2]
68
+                )->will($this->returnSelf());
69 69
 
70 70
         /* @var $target \PHPUnit_Framework_MockObject_MockObject|\Jobs\Form\ListFilterLocationFieldset */
71 71
         $target->init();
Please login to merge, or discard this patch.
module/Jobs/test/JobsTest/Listener/GetOrganizationManagersTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@
 block discarded – undo
107 107
 
108 108
         $wf = new WorkflowSettings();
109 109
         $wf->setAcceptApplicationByDepartmentManager($flag('acceptApplication'))
110
-           ->setAssignDepartmentManagersToJobs($flag('assignManagers'));
110
+            ->setAssignDepartmentManagersToJobs($flag('assignManagers'));
111 111
 
112 112
         $org->expects($this->once())->method('getWorkflowSettings')->willReturn($wf);
113 113
 
Please login to merge, or discard this patch.
module/Auth/test/AuthTest/Controller/RegisterControllerTest.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,8 +52,8 @@
 block discarded – undo
52 52
 
53 53
 
54 54
         $this->serviceMock = $this->getMockBuilder('Auth\Service\Register')
55
-                                  ->disableOriginalConstructor()
56
-                                  ->getMock();
55
+                                    ->disableOriginalConstructor()
56
+                                    ->getMock();
57 57
 
58 58
 
59 59
         $this->paramsMock = $this->getMockBuilder('Zend\Mvc\Controller\Plugin\Params')
Please login to merge, or discard this patch.
Auth/test/AuthTest/Listener/SocialProfilesUnconfiguredErrorListenerTest.php 1 patch
Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -40,8 +40,8 @@  discard block
 block discarded – undo
40 40
 
41 41
         $events = $this->getMockBuilder('\Zend\EventManager\EventManager')->disableOriginalConstructor()->getMock();
42 42
         $events->expects($this->once())
43
-               ->method('attach')->with(MvcEvent::EVENT_DISPATCH_ERROR, [ $target, 'onDispatchError' ])
44
-               ->willReturn('worked');
43
+                ->method('attach')->with(MvcEvent::EVENT_DISPATCH_ERROR, [ $target, 'onDispatchError' ])
44
+                ->willReturn('worked');
45 45
 
46 46
         $this->assertSame($target, $target->attach($events), 'Fluent interface broken');
47 47
         $this->assertAttributeEquals(['worked'], 'listeners', $target);
@@ -50,15 +50,15 @@  discard block
 block discarded – undo
50 50
     public function provideTestData()
51 51
     {
52 52
         return [
53
-           [ true, true, true, true ],
54
-           [ false, true, true, false ],
55
-           [ true, false, true, false ],
56
-           [ true, true, false, false ],
57
-           [ false, false, true, false ],
58
-           [ false, true, false, false ],
59
-           [ true, false, false, false ],
60
-           [ false, false, false, false ],
61
-       ];
53
+            [ true, true, true, true ],
54
+            [ false, true, true, false ],
55
+            [ true, false, true, false ],
56
+            [ true, true, false, false ],
57
+            [ false, false, true, false ],
58
+            [ false, true, false, false ],
59
+            [ true, false, false, false ],
60
+            [ false, false, false, false ],
61
+        ];
62 62
     }
63 63
 
64 64
     /**
@@ -78,8 +78,8 @@  discard block
 block discarded – undo
78 78
         $event = $this->getMockBuilder('\Zend\Mvc\MvcEvent')->disableOriginalConstructor()->getMock();
79 79
 
80 80
         $event->expects($this->once())
81
-              ->method('getParam')->with('exception')
82
-              ->willReturn($exception);
81
+                ->method('getParam')->with('exception')
82
+                ->willReturn($exception);
83 83
 
84 84
         if ($useValidModel) {
85 85
             $model = $this->getMockBuilder('\Zend\View\Model\ViewModel')->disableOriginalConstructor()->getMock();
@@ -89,16 +89,16 @@  discard block
 block discarded – undo
89 89
                 $model->expects($this->never())->method('setTemplate');
90 90
             }
91 91
             $event->expects($this->once())
92
-                  ->method('getError')
93
-                  ->willReturn($useValidError ? Application::ERROR_EXCEPTION : 'NotMatchError');
92
+                    ->method('getError')
93
+                    ->willReturn($useValidError ? Application::ERROR_EXCEPTION : 'NotMatchError');
94 94
         } else {
95 95
             $model = 'not a view model instance';
96 96
             $event->expects($this->never())->method('getError');
97 97
         }
98 98
 
99 99
         $event->expects($this->once())
100
-              ->method('getResult')
101
-              ->willReturn($model);
100
+                ->method('getResult')
101
+                ->willReturn($model);
102 102
 
103 103
         $target->onDispatchError($event);
104 104
     }
Please login to merge, or discard this patch.
module/Install/test/TestConfig.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
     //     ),
59 59
     // )
60 60
 
61
-   // Initial configuration with which to seed the ServiceManager.
62
-   // Should be compatible with Zend\ServiceManager\Config.
63
-   // 'service_manager' => array(),
61
+    // Initial configuration with which to seed the ServiceManager.
62
+    // Should be compatible with Zend\ServiceManager\Config.
63
+    // 'service_manager' => array(),
64 64
 );
65 65
\ No newline at end of file
Please login to merge, or discard this patch.
module/Install/test/InstallTest/ModuleTest.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -99,8 +99,8 @@
 block discarded – undo
99 99
         $application->expects($this->once())->method('getServiceManager')->willReturn($services);
100 100
 
101 101
         $event = $this->getMockBuilder('\Zend\Mvc\MvcEvent')
102
-                      ->disableOriginalConstructor()
103
-                      ->getMock();
102
+                        ->disableOriginalConstructor()
103
+                        ->getMock();
104 104
 
105 105
         $event->expects($this->once())->method('getApplication')->willReturn($application);
106 106
 
Please login to merge, or discard this patch.
module/Applications/test/ApplicationsTest/Form/ApplicationsFilterTest.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -84,15 +84,15 @@
 block discarded – undo
84 84
         ];
85 85
 
86 86
         $add3 = ['type' => 'ToggleButton',
87
-                 'name' => 'unread',
88
-                 'options' => [
89
-                     'checked_value' => '1',
90
-                     'unchecked_value' => '0',
91
-                     'label' => 'unread',
92
-                 ],
93
-                 'attributes' => [
94
-                     'data-submit-on-change' => 'true',
95
-                 ]
87
+                    'name' => 'unread',
88
+                    'options' => [
89
+                        'checked_value' => '1',
90
+                        'unchecked_value' => '0',
91
+                        'label' => 'unread',
92
+                    ],
93
+                    'attributes' => [
94
+                        'data-submit-on-change' => 'true',
95
+                    ]
96 96
         ];
97 97
 
98 98
         /** @noinspection PhpUndefinedMethodInspection */
Please login to merge, or discard this patch.
Applications/test/ApplicationsTest/Acl/ApplicationAccessAssertionTest.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -70,13 +70,13 @@
 block discarded – undo
70 70
         $app  = new Application();
71 71
         $app2 = new Application();
72 72
         $app2->getPermissions()->grant($user, PermissionsInterface::PERMISSION_VIEW)
73
-                               ->grant($user2, PermissionsInterface::PERMISSION_CHANGE);
73
+                                ->grant($user2, PermissionsInterface::PERMISSION_CHANGE);
74 74
 
75 75
         $app3 = new Application();
76 76
         $app3->setIsDraft(true);
77 77
         //$app3->setUser($user);
78 78
         $app3->getPermissions()->grant($user, PermissionsInterface::PERMISSION_VIEW)
79
-                               ->grant($user2, PermissionsInterface::PERMISSION_CHANGE);
79
+                                ->grant($user2, PermissionsInterface::PERMISSION_CHANGE);
80 80
 
81 81
         return array(
82 82
             'nouser-noapp'     => array($role, $resource, null, false),
Please login to merge, or discard this patch.
module/Applications/test/TestConfig.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.