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 — 8.x-4.x-acsf-subprofile ( a9b939...e3500d )
by Brant
05:28
created
df/df_tools/df_tools_map/src/Plugin/views/filter/SimpleProximity.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -102,8 +102,7 @@  discard block
 block discarded – undo
102 102
     $this->ensureMyTable();
103 103
     if (is_array($this->value)) {
104 104
       $location = $this->value[0];
105
-    }
106
-    else {
105
+    } else {
107 106
       $location = $this->value;
108 107
     }
109 108
 
@@ -150,8 +149,7 @@  discard block
 block discarded – undo
150 149
     foreach ($options as $key => $option) {
151 150
       if (is_numeric($option)) {
152 151
         $formula = str_replace(':' . $key, $option, $formula);
153
-      }
154
-      else {
152
+      } else {
155 153
         $formula = str_replace(':' . $key, db_escape_field($option), $formula);
156 154
       }
157 155
     }
Please login to merge, or discard this patch.
df_tools_frontend/src/Controller/QuickEditImageBrowserController.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -90,8 +90,7 @@  discard block
 block discarded – undo
90 90
       $entity_view_mode_ids = array_keys($this->entityManager()->getViewModes($entity->getEntityTypeId()));
91 91
       if (in_array($view_mode_id, $entity_view_mode_ids)) {
92 92
         $output = $entity->$field_name->view($view_mode_id);
93
-      }
94
-      else {
93
+      } else {
95 94
         // Each part of a custom (non-Entity Display) view mode ID is separated
96 95
         // by a dash; the first part must be the module name.
97 96
         $mode_id_parts = explode('-', $view_mode_id, 2);
@@ -108,8 +107,7 @@  discard block
 block discarded – undo
108 107
         'html' => $this->renderer->renderRoot($output),
109 108
       ];
110 109
       return new JsonResponse($data);
111
-    }
112
-    else {
110
+    } else {
113 111
       return new JsonResponse(['main_error' => $this->t('File does not exist.')]);
114 112
     }
115 113
   }
Please login to merge, or discard this patch.
modules/df/df_tools/df_tools_slideshow/df_tools_slideshow.module 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,8 +40,7 @@
 block discarded – undo
40 40
       $widget_form['#title'] = '';
41 41
       $widget_form['entity_id']['#title'] = t('Existing slide');
42 42
       $widget_form['actions']['ief_reference_save']['#value'] = t('Add');
43
-    }
44
-    else {
43
+    } else {
45 44
       $widget_form['inline_entity_form']['#ief_labels']['singular'] = 'slide';
46 45
     }
47 46
   }
Please login to merge, or discard this patch.
modules/df/df_tools/df_tools_color/df_tools_color.module 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -264,8 +264,7 @@
 block discarded – undo
264 264
       else {
265 265
         $chunk = _color_shift($palette[$base], $default_color_mapping[$base], $chunk, $info['blend_target']);
266 266
       }
267
-    }
268
-    else {
267
+    } else {
269 268
       // Determine the most suitable base color for the next color.
270 269
 
271 270
       // 'a' declarations. Use link.
Please login to merge, or discard this patch.
modules/df/df_tools/df_tools_blocks/src/Copier.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,8 +29,7 @@
 block discarded – undo
29 29
     // Copy and return the entity.
30 30
     if ($copy = $this->replicator->replicateEntity($entity)) {
31 31
       return $copy;
32
-    }
33
-    else {
32
+    } else {
34 33
       return false;
35 34
     }
36 35
   }
Please login to merge, or discard this patch.
src/IniEncoder.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -40,14 +40,12 @@  discard block
 block discarded – undo
40 40
       if (is_array($value)) {
41 41
         if ($this->isAssociative($value)) {
42 42
           $output = array_merge($output, $this->doEncode($value, $keys));
43
-        }
44
-        else {
43
+        } else {
45 44
           foreach ($value as $j) {
46 45
             $output[] = $this->keysToString($keys) . '[] = ' . $j;
47 46
           }
48 47
         }
49
-      }
50
-      else {
48
+      } else {
51 49
         $output[] = $this->keysToString($keys) . ' = ' . $value;
52 50
       }
53 51
 
@@ -70,8 +68,7 @@  discard block
 block discarded – undo
70 68
     $head = array_shift($keys);
71 69
     if ($keys) {
72 70
       return $head . '[' . implode('][', $keys) . ']';
73
-    }
74
-    else {
71
+    } else {
75 72
       return $head;
76 73
     }
77 74
   }
Please login to merge, or discard this patch.
modules/df/df_tools/df_tools_media/src/Plugin/Block/MediaEmbedBlock.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -206,8 +206,7 @@  discard block
 block discarded – undo
206 206
       if ($media && $media->access('view')) {
207 207
         if (isset(static::$recursiveRenderDepth[$mid])) {
208 208
           static::$recursiveRenderDepth[$mid]++;
209
-        }
210
-        else {
209
+        } else {
211 210
           static::$recursiveRenderDepth[$mid] = 1;
212 211
         }
213 212
 
@@ -236,8 +235,7 @@  discard block
 block discarded – undo
236 235
       $mids = \Drupal::entityQuery('media')
237 236
         ->condition('uuid', $this->configuration['uuids'], 'IN')
238 237
         ->execute();
239
-    }
240
-    else {
238
+    } else {
241 239
       $mids = [];
242 240
     }
243 241
 
Please login to merge, or discard this patch.
RoboFile.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,8 +53,7 @@
 block discarded – undo
53 53
     foreach ($arguments as $argument) {
54 54
       if ($argument{0} == '-') {
55 55
         $task->rawArg($argument);
56
-      }
57
-      else {
56
+      } else {
58 57
         $feature = "tests/features/$argument";
59 58
 
60 59
         if (file_exists("$feature.feature")) {
Please login to merge, or discard this patch.
df/df_tools/df_tools_map/src/Plugin/Field/FieldWidget/SimpleGeocoder.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -126,8 +126,7 @@
 block discarded – undo
126 126
     $coordinates = $this->getSetting('show_coordinates');
127 127
     if ($coordinates) {
128 128
       $summary[] = $this->t('Coordinates are shown');
129
-    }
130
-    else {
129
+    } else {
131 130
       $summary[] = $this->t('Coordinates are hidden');
132 131
     }
133 132
 
Please login to merge, or discard this patch.