Passed
Pull Request — master (#631)
by ANTHONIUS
08:16
created
module/Applications/test/ApplicationsTest/Entity/StatusTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -61,8 +61,8 @@  discard block
 block discarded – undo
61 61
             [
62 62
                 [StatusInterface::INCOMING, StatusInterface::INCOMING],
63 63
                 [StatusInterface::ACCEPTED, StatusInterface::ACCEPTED],
64
-                [StatusInterface::CONFIRMED,StatusInterface::CONFIRMED],
65
-                [StatusInterface::INVITED,  StatusInterface::INVITED],
64
+                [StatusInterface::CONFIRMED, StatusInterface::CONFIRMED],
65
+                [StatusInterface::INVITED, StatusInterface::INVITED],
66 66
                 [StatusInterface::REJECTED, StatusInterface::REJECTED],
67 67
 
68 68
             ];
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
      */
96 96
     public function testGetUnknownStatus()
97 97
     {
98
-        $expected="foobar";
98
+        $expected = "foobar";
99 99
         $status = new Status("unknown status");
100 100
         $this->assertEquals($status->getOrder(), $expected);
101 101
     }
Please login to merge, or discard this patch.
module/Applications/test/ApplicationsTest/Form/FactsFieldsetTest.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
 
49 49
     public function testSetGetEmptySummaryText()
50 50
     {
51
-        $input="Klick here";
51
+        $input = "Klick here";
52 52
         $this->target->setEmptySummaryNotice($input);
53 53
         $this->assertSame($this->target->getEmptySummaryNotice(), $input);
54 54
     }
@@ -65,8 +65,8 @@  discard block
 block discarded – undo
65 65
     public function providerDisableCapable()
66 66
     {
67 67
         return [
68
-            [true,true],
69
-            [false,false],
68
+            [true, true],
69
+            [false, false],
70 70
             [null, true]
71 71
         ];
72 72
     }
@@ -83,8 +83,8 @@  discard block
 block discarded – undo
83 83
     public function providerDisableElementCapable()
84 84
     {
85 85
         return [
86
-            [true,true],
87
-            [false,false],
86
+            [true, true],
87
+            [false, false],
88 88
             [null, true]
89 89
         ];
90 90
     }
Please login to merge, or discard this patch.
module/Applications/test/ApplicationsTest/Form/Element/JobSelectTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
         ]]
47 47
     ];
48 48
 
49
-    private $inheritance = [ Select::class, HeadscriptProviderInterface::class ];
49
+    private $inheritance = [Select::class, HeadscriptProviderInterface::class];
50 50
 
51 51
     public function propertiesProvider()
52 52
     {
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
                 'getter_method' => 'getValue',
64 64
                 'expect' => $job->getId(),
65 65
                 'value' => $job,
66
-                'post' => function () use ($job) {
66
+                'post' => function() use ($job) {
67 67
                     $this->assertEquals([0 => '', $job->getId() => $job->getTitle()], $this->target->getValueOptions());
68 68
                 }
69 69
             ]]
Please login to merge, or discard this patch.
module/Applications/test/ApplicationsTest/Form/ApplicationsFilterTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
         '@testAddElements' => ['mock' => ['add', 'setButtonElement' => ['with' => 'unread', 'count' => 1]]],
39 39
     ];
40 40
 
41
-    private $inheritance = [ SearchForm::class ];
41
+    private $inheritance = [SearchForm::class];
42 42
 
43 43
     private $attributes = [
44 44
         'options' => [
Please login to merge, or discard this patch.
Applications/test/ApplicationsTest/Acl/ApplicationAccessAssertionTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -89,8 +89,8 @@
 block discarded – undo
89 89
             'change-not-granted2' => array($user, $app2, 'change', false),
90 90
             'subsequentAttachmentUpload-not-granted' => array($user, $app, Application::PERMISSION_SUBSEQUENT_ATTACHMENT_UPLOAD, false),
91 91
             'subsequentAttachmentUpload-granted' => array($user, $app2, Application::PERMISSION_SUBSEQUENT_ATTACHMENT_UPLOAD, true),
92
-            'allow-draft-view' => [ $user2, $app3, 'change', true ],
93
-            'disallow-draft-view' => [ $user, $app3, 'change', false ],
92
+            'allow-draft-view' => [$user2, $app3, 'change', true],
93
+            'disallow-draft-view' => [$user, $app3, 'change', false],
94 94
 
95 95
         );
96 96
     }
Please login to merge, or discard this patch.
module/Applications/test/TestConfig.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -3,8 +3,8 @@
 block discarded – undo
3 3
 
4 4
 return array(
5 5
     // This should be an array of module namespaces used in the application.
6
-    'modules' => array_merge($commonModules,array(
7
-        'Core', 'Auth', 'Jobs', 'Organizations',  'Applications', 'Cv', 'Settings'
6
+    'modules' => array_merge($commonModules, array(
7
+        'Core', 'Auth', 'Jobs', 'Organizations', 'Applications', 'Cv', 'Settings'
8 8
     )),
9 9
 
10 10
     // These are various options for the listeners attached to the ModuleManager
Please login to merge, or discard this patch.
Organizations/test/OrganizationsTest/Controller/ProfileControllerTest.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
         $pluginManager->expects($this->any())
104 104
             ->method('get')
105 105
             ->willReturnMap([
106
-                ['params',null,$params]
106
+                ['params', null, $params]
107 107
             ])
108 108
         ;
109 109
 
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
         $plugins->expects($this->any())
127 127
             ->method('get')
128 128
             ->willReturnMap([
129
-                ['params',null,$params]
129
+                ['params', null, $params]
130 130
             ])
131 131
         ;
132 132
 
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
         $plugins->expects($this->any())
151 151
             ->method('get')
152 152
             ->willReturnMap([
153
-                ['params',null,$params]
153
+                ['params', null, $params]
154 154
             ])
155 155
         ;
156 156
 
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
         $pluginManager->expects($this->any())
183 183
             ->method('get')
184 184
             ->willReturnMap([
185
-                ['params',null,$params]
185
+                ['params', null, $params]
186 186
             ])
187 187
         ;
188 188
 
@@ -217,7 +217,7 @@  discard block
 block discarded – undo
217 217
         $pluginManager->expects($this->any())
218 218
             ->method('get')
219 219
             ->willReturnMap([
220
-                ['params',null,$params]
220
+                ['params', null, $params]
221 221
             ])
222 222
         ;
223 223
 
Please login to merge, or discard this patch.
test/OrganizationsTest/Controller/Plugin/AcceptInvitationHandlerTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -134,7 +134,7 @@
 block discarded – undo
134 134
                 continue;
135 135
             }
136 136
 
137
-            $this->fail('Expected exception was not thrown for "' . $method . '"');
137
+            $this->fail('Expected exception was not thrown for "'.$method.'"');
138 138
         }
139 139
     }
140 140
 
Please login to merge, or discard this patch.
test/OrganizationsTest/Controller/InviteEmployeeControllerTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
         return isset($this->pluginsMockMap[$name]) ? $this->pluginsMockMap[$name] : null;
95 95
     }
96 96
 
97
-    public function retrieveQueryParam($name, $default=null)
97
+    public function retrieveQueryParam($name, $default = null)
98 98
     {
99 99
         return isset($this->queryParams[$name]) ? $this->queryParams[$name] : $default;
100 100
     }
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
 
128 128
     private function setupOrganizationEntityRetrievalMocks($name)
129 129
     {
130
-        $id = $name. "Id";
130
+        $id = $name."Id";
131 131
         $organization = new Organization();
132 132
         $organization->setOrganizationName(new OrganizationName($name));
133 133
 
Please login to merge, or discard this patch.