Completed
Push — master ( 811327...4aef6e )
by Carsten
14:04 queued 19s
created
module/Jobs/test/JobsTest/Form/ListFilterBaseTest.php 2 patches
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -26,13 +26,13 @@  discard block
 block discarded – undo
26 26
     public function testInit()
27 27
     {
28 28
         $target = $this->getMockBuilder('\Jobs\Form\ListFilterBaseFieldset')
29
-                       ->setMethods(array('add', 'setName'))
30
-                       ->disableOriginalConstructor()
31
-                       ->getMock();
29
+                        ->setMethods(array('add', 'setName'))
30
+                        ->disableOriginalConstructor()
31
+                        ->getMock();
32 32
 
33 33
         $add1 = ['type' => 'Hidden',
34
-                 'name' => 'page',
35
-                 'attributes' => ['value' => 1,]
34
+                    'name' => 'page',
35
+                    'attributes' => ['value' => 1,]
36 36
         ];
37 37
 
38 38
         $add2 = [
@@ -43,11 +43,11 @@  discard block
 block discarded – undo
43 43
         ];
44 44
 
45 45
         $target->expects($this->exactly(2))
46
-               ->method('add')
47
-               ->withConsecutive(
48
-                   [$add1],
49
-                   [$add2]
50
-               )->will($this->returnSelf());
46
+                ->method('add')
47
+                ->withConsecutive(
48
+                    [$add1],
49
+                    [$add2]
50
+                )->will($this->returnSelf());
51 51
 
52 52
         /* @var $target \PHPUnit_Framework_MockObject_MockObject|\Jobs\Form\ListFilterLocationFieldset */
53 53
         $target->init();
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
 {
20 20
     public function testConstructor()
21 21
     {
22
-        $target= new ListFilterBaseFieldset();
22
+        $target = new ListFilterBaseFieldset();
23 23
         $this->assertInstanceOf('Jobs\Form\ListFilterBaseFieldset', $target);
24 24
     }
25 25
 
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
 
33 33
         $add1 = ['type' => 'Hidden',
34 34
                  'name' => 'page',
35
-                 'attributes' => ['value' => 1,]
35
+                 'attributes' => ['value' => 1, ]
36 36
         ];
37 37
 
38 38
         $add2 = [
Please login to merge, or discard this patch.
module/Jobs/test/JobsTest/Form/InputFilter/AtsModeTest.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -146,9 +146,9 @@
 block discarded – undo
146 146
     {
147 147
         /* @var $target AtsMode|\PHPUnit_Framework_MockObject_MockObject */
148 148
         $target = $this->getMockBuilder('\Jobs\Form\InputFilter\AtsMode')
149
-                       ->disableOriginalConstructor()
150
-                       ->setMethods(array('add', 'populate'))
151
-                       ->getMock();
149
+                        ->disableOriginalConstructor()
150
+                        ->setMethods(array('add', 'populate'))
151
+                        ->getMock();
152 152
 
153 153
         $add = $target->expects($this->exactly(count($expectedSpec)))
154 154
             ->method('add');
Please login to merge, or discard this patch.
module/Jobs/test/JobsTest/Form/CategoriesContainerTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
         ],
35 35
     ];
36 36
 
37
-    private $inheritance = [ WizardContainer::class ];
37
+    private $inheritance = [WizardContainer::class];
38 38
 
39 39
     public function testInitialize()
40 40
     {
Please login to merge, or discard this patch.
module/Jobs/test/JobsTest/Form/ListFilterLocationTest.php 2 patches
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.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
 {
19 19
     public function testConstructor()
20 20
     {
21
-        $target= new ListFilterLocationFieldset();
21
+        $target = new ListFilterLocationFieldset();
22 22
         $this->assertInstanceOf('Jobs\Form\ListFilterLocationFieldset', $target);
23 23
     }
24 24
 
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
             ),
55 55
             'attributes' => [
56 56
                 'value'            => '10', // default distance
57
-                'data-searchbox'   => -1,  // hide the search box
57
+                'data-searchbox'   => -1, // hide the search box
58 58
                 'data-allowclear'  => 'false', // allow to clear a selected value
59 59
                 'data-placeholder' => 'Distance',
60 60
             ]
Please login to merge, or discard this patch.
module/Jobs/test/JobsTest/View/Helper/JsonLdTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
 
34 34
     private $target = JsonLd::class;
35 35
 
36
-    private $inheritance = [ AbstractHelper::class ];
36
+    private $inheritance = [AbstractHelper::class];
37 37
 
38 38
     public function propertiesProvider()
39 39
     {
Please login to merge, or discard this patch.
module/Jobs/test/JobsTest/View/Helper/JobOrganizationNameTest.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
      */
36 36
     private $target = JobOrganizationName::class;
37 37
 
38
-    private $inheritance = [ AbstractHelper::class ];
38
+    private $inheritance = [AbstractHelper::class];
39 39
 
40 40
     public function invokeTestData()
41 41
     {
@@ -58,10 +58,10 @@  discard block
 block discarded – undo
58 58
         $job4->setOrganization($org);
59 59
 
60 60
         return [
61
-            [ $job1, '', 'TestCompany' ],
62
-            [ $job2, '', 'OrgName'],
63
-            [ $job3, 'DefaultName', 'DefaultName' ],
64
-            [ $job4, '', 'Override'],
61
+            [$job1, '', 'TestCompany'],
62
+            [$job2, '', 'OrgName'],
63
+            [$job3, 'DefaultName', 'DefaultName'],
64
+            [$job4, '', 'Override'],
65 65
         ];
66 66
     }
67 67
 
Please login to merge, or discard this patch.
module/Jobs/test/JobsTest/View/Helper/AdminEditLinkTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
         'args' => 'getConstructorArgs',
37 37
     ];
38 38
 
39
-    private $inheritance = [ AbstractHelper::class ];
39
+    private $inheritance = [AbstractHelper::class];
40 40
 
41 41
     private function getConstructorArgs()
42 42
     {
Please login to merge, or discard this patch.
module/Jobs/test/JobsTest/Listener/LoadActiveOrganizationsTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
 
59 59
         $this->paginatorMock = $paginator;
60 60
 
61
-        return [ $paginator ];
61
+        return [$paginator];
62 62
     }
63 63
 
64 64
     public function testConstruction()
Please login to merge, or discard this patch.
module/Jobs/test/JobsTest/Listener/GetOrganizationManagersTest.php 2 patches
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.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@
 block discarded – undo
94 94
 
95 95
     private function createOrganization(array $spec)
96 96
     {
97
-        $flag = function ($key) use ($spec) {
97
+        $flag = function($key) use ($spec) {
98 98
             return isset($spec[$key]) && $spec[$key];
99 99
         };
100 100
         $org = $this
Please login to merge, or discard this patch.