GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Passed
Push — master ( 4032bb...90a43b )
by Steeven
02:53
created
src/Models/Options.php 2 patches
Indentation   +23 added lines, -23 removed lines patch added patch discarded remove patch
@@ -220,16 +220,16 @@  discard block
 block discarded – undo
220 220
         $familyRelationships = [];
221 221
 
222 222
         foreach ([
223
-                     'PARENT',
224
-                     'CHILD',
225
-                     'SPOUSE',
226
-                     'SIBLING',
227
-                     'GRANDPARENTS',
228
-                     'GRANDCHILD',
229
-                     'PARENTS_SIBLING',
230
-                     'SIBLINGS_CHILD',
231
-                     'AUNTS_UNCLES_CHILD',
232
-                 ] as $relationship
223
+                        'PARENT',
224
+                        'CHILD',
225
+                        'SPOUSE',
226
+                        'SIBLING',
227
+                        'GRANDPARENTS',
228
+                        'GRANDCHILD',
229
+                        'PARENTS_SIBLING',
230
+                        'SIBLINGS_CHILD',
231
+                        'AUNTS_UNCLES_CHILD',
232
+                    ] as $relationship
233 233
         ) {
234 234
             $familyRelationships[ $relationship ] = $this->language->getLine($relationship);
235 235
         }
@@ -245,13 +245,13 @@  discard block
 block discarded – undo
245 245
         $statuses = [];
246 246
 
247 247
         foreach ([
248
-                     'PUBLISH',
249
-                     'UNPUBLISH',
250
-                     'DRAFT',
251
-                     'ARCHIVED',
252
-                     'DELETED',
253
-                     'LOCKED'
254
-                 ] as $status
248
+                        'PUBLISH',
249
+                        'UNPUBLISH',
250
+                        'DRAFT',
251
+                        'ARCHIVED',
252
+                        'DELETED',
253
+                        'LOCKED'
254
+                    ] as $status
255 255
         ) {
256 256
             $statuses[ $status ] = $this->language->getLine($status);
257 257
         }
@@ -270,12 +270,12 @@  discard block
 block discarded – undo
270 270
         $visibilities = [];
271 271
 
272 272
         foreach ([
273
-                     'PUBLIC',
274
-                     'PROTECTED',
275
-                     'PRIVATE',
276
-                     'READONLY',
277
-                     'MEMBERONLY',
278
-                 ] as $visibility
273
+                        'PUBLIC',
274
+                        'PROTECTED',
275
+                        'PRIVATE',
276
+                        'READONLY',
277
+                        'MEMBERONLY',
278
+                    ] as $visibility
279 279
         ) {
280 280
             $visibilities[ $visibility ] = $this->language->getLine($visibility);
281 281
         }
Please login to merge, or discard this patch.
Spacing   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
         $religions = [];
41 41
 
42 42
         foreach (['ATHEIST', 'HINDU', 'BUDDHA', 'MOSLEM', 'CHRISTIAN', 'CATHOLIC', 'UNDEFINED'] as $religion) {
43
-            $religions[ $religion ] = $this->language->getLine($religion);
43
+            $religions[$religion] = $this->language->getLine($religion);
44 44
         }
45 45
 
46 46
         return $religions;
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
         $genders = [];
55 55
 
56 56
         foreach (['MALE', 'FEMALE', 'UNDEFINED'] as $gender) {
57
-            $genders[ $gender ] = $this->language->getLine($gender);
57
+            $genders[$gender] = $this->language->getLine($gender);
58 58
         }
59 59
 
60 60
         return $genders;
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
         $maritals = [];
69 69
 
70 70
         foreach (['SINGLE', 'MARRIED', 'DIVORCED', 'UNDEFINED'] as $marital) {
71
-            $maritals[ $marital ] = $this->language->getLine($marital);
71
+            $maritals[$marital] = $this->language->getLine($marital);
72 72
         }
73 73
 
74 74
         return $maritals;
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
         $bloodTypes = [];
83 83
 
84 84
         foreach (['A', 'B', 'AB', 'O', 'UNDEFINED'] as $bloodType) {
85
-            $bloodTypes[ $bloodType ] = $this->language->getLine($bloodType);
85
+            $bloodTypes[$bloodType] = $this->language->getLine($bloodType);
86 86
         }
87 87
 
88 88
         return $bloodTypes;
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
 
106 106
         for ($i = $start; $i <= $end; $i++) {
107 107
             $time = strtotime($year . 'W' . $week . $i);
108
-            $days[ strtoupper(date('D', $time)) ] = $this->language->getLine(
108
+            $days[strtoupper(date('D', $time))] = $this->language->getLine(
109 109
                 'CAL_' . strtoupper(date($labelFormat, $time)));
110 110
         }
111 111
 
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
             if ($leading) {
127 127
                 $date = strlen($date) == 1 ? '0' . $date : $date;
128 128
             }
129
-            $dates[ $date ] = $date;
129
+            $dates[$date] = $date;
130 130
         }
131 131
 
132 132
         return $dates;
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
             if ($leading) {
149 149
                 $month = strlen($month) == 1 ? '0' . $month : $month;
150 150
             }
151
-            $months[ $month ] = $this->language->getLine(strtoupper('CAL_' . date('F',
151
+            $months[$month] = $this->language->getLine(strtoupper('CAL_' . date('F',
152 152
                     strtotime('1-' . $month . '-2000'))));
153 153
         }
154 154
 
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
166 166
         $years = [];
167 167
 
168 168
         foreach (range($start, $end) as $year) {
169
-            $years[ $year ] = $year;
169
+            $years[$year] = $year;
170 170
         }
171 171
 
172 172
         return $years;
@@ -180,7 +180,7 @@  discard block
 block discarded – undo
180 180
         $identities = [];
181 181
 
182 182
         foreach (['UNDEFINED', 'IDENTITY_CARD', 'STUDENT_CARD', 'DRIVER_LICENSE', 'PASSPORT'] as $identity) {
183
-            $identities[ $identity ] = $this->language->getLine($identity);
183
+            $identities[$identity] = $this->language->getLine($identity);
184 184
         }
185 185
 
186 186
         return $identities;
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
193 193
     {
194 194
         $sizes = [];
195 195
         foreach (['XS', 'S', 'M', 'L', 'XL', 'XXL', 'XXXL'] as $size) {
196
-            $sizes[ $size ] = $size;
196
+            $sizes[$size] = $size;
197 197
         }
198 198
 
199 199
         return $sizes;
@@ -206,7 +206,7 @@  discard block
 block discarded – undo
206 206
     {
207 207
         $boolean = [];
208 208
         foreach (['YES', 'NO'] as $bool) {
209
-            $boolean[ $bool ] = $this->language->getLine('BOOL_' . $bool);
209
+            $boolean[$bool] = $this->language->getLine('BOOL_' . $bool);
210 210
         }
211 211
 
212 212
         return $boolean;
@@ -231,7 +231,7 @@  discard block
 block discarded – undo
231 231
                      'AUNTS_UNCLES_CHILD',
232 232
                  ] as $relationship
233 233
         ) {
234
-            $familyRelationships[ $relationship ] = $this->language->getLine($relationship);
234
+            $familyRelationships[$relationship] = $this->language->getLine($relationship);
235 235
         }
236 236
 
237 237
         return $familyRelationships;
@@ -253,7 +253,7 @@  discard block
 block discarded – undo
253 253
                      'LOCKED'
254 254
                  ] as $status
255 255
         ) {
256
-            $statuses[ $status ] = $this->language->getLine($status);
256
+            $statuses[$status] = $this->language->getLine($status);
257 257
         }
258 258
 
259 259
         return $statuses;
@@ -277,7 +277,7 @@  discard block
 block discarded – undo
277 277
                      'MEMBERONLY',
278 278
                  ] as $visibility
279 279
         ) {
280
-            $visibilities[ $visibility ] = $this->language->getLine($visibility);
280
+            $visibilities[$visibility] = $this->language->getLine($visibility);
281 281
         }
282 282
 
283 283
         return $visibilities;
@@ -295,7 +295,7 @@  discard block
 block discarded – undo
295 295
         $languages = [];
296 296
 
297 297
         foreach ($this->language->getRegistry() as $language) {
298
-            $languages[ $language->getParameter() ] = $language->getProperties()->name;
298
+            $languages[$language->getParameter()] = $language->getProperties()->name;
299 299
         }
300 300
 
301 301
         return $languages;
Please login to merge, or discard this patch.