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.
Test Setup Failed
Push — 8.x-4.x ( b99bce...1182dc )
by Kevin
05:39
created
themes/one/includes/html.inc 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -28,8 +28,7 @@  discard block
 block discarded – undo
28 28
     if ($arg[0] == 'node' && isset($arg[1])) {
29 29
       if ($arg[1] == 'add') {
30 30
         $section = 'node-add';
31
-      }
32
-      elseif (isset($arg[2]) && is_numeric($arg[1]) && ($arg[2] == 'edit' || $arg[2] == 'delete')) {
31
+      } elseif (isset($arg[2]) && is_numeric($arg[1]) && ($arg[2] == 'edit' || $arg[2] == 'delete')) {
33 32
         $section = 'node-' . $arg[2];
34 33
       }
35 34
     }
@@ -39,8 +38,7 @@  discard block
 block discarded – undo
39 38
   // Store the menu item since it has some useful information.
40 39
   if ($request->attributes->get('view_id')) {
41 40
     $variables['attributes']['class'][] = 'views-page';
42
-  }
43
-  elseif ($request->attributes->get('panel')) {
41
+  } elseif ($request->attributes->get('panel')) {
44 42
     $variables['attributes']['class'][] = 'panels-page';
45 43
   }
46 44
 }
Please login to merge, or discard this patch.
df_tools_translation_migrate/df_tools_translation_migrate.scenarios.inc 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -41,8 +41,7 @@  discard block
 block discarded – undo
41 41
   // Prefer UUIDs to other fields.
42 42
   if (in_array('UUID', $ids, TRUE)) {
43 43
     $id_map = ['uuid', 'UUID'];
44
-  }
45
-  else {
44
+  } else {
46 45
     foreach ($processes as $field => $process) {
47 46
       if (isset($process[0]['source']) && $process[0]['source'] == $ids[0]) {
48 47
         $id_map = [$field, $ids[0]];
@@ -59,8 +58,7 @@  discard block
 block discarded – undo
59 58
   // Create a migrate executable, which we use later to set row values.
60 59
   if (function_exists('drush_log')) {
61 60
     $log = new DrushLogMigrateMessage();
62
-  }
63
-  else {
61
+  } else {
64 62
     $log = new MigrateMessage();
65 63
   }
66 64
 
@@ -106,8 +104,7 @@  discard block
 block discarded – undo
106 104
         if (!$entity->hasTranslation($langcode)) {
107 105
           $entity_values = $entity->toArray();
108 106
           $translation = $entity->addTranslation($langcode, $entity_values);
109
-        }
110
-        else {
107
+        } else {
111 108
           $translation = $entity->getTranslation($langcode);
112 109
         }
113 110
 
Please login to merge, or discard this patch.
themes/one/includes/page.inc 1 patch
Braces   +5 added lines, -10 removed lines patch added patch discarded remove patch
@@ -13,40 +13,35 @@
 block discarded – undo
13 13
   // Make Page Mangers pages full width
14 14
   elseif (\Drupal::routeMatch()->getRouteObject()->hasDefault('page_manager_page')) {
15 15
     $variables['container_class'] = 'container-fluid full';
16
-  }
17
-  else {
16
+  } else {
18 17
     $variables['container_class'] = 'container';
19 18
   }
20 19
 
21 20
   // Set container for Meta Header
22 21
   if (theme_get_setting('meta_header_full_width')) {
23 22
     $variables['meta_header_width'] = 'container-fluid';
24
-  }
25
-  else {
23
+  } else {
26 24
     $variables['meta_header_width'] = 'container';
27 25
   }
28 26
 
29 27
   // Set container for Navbar
30 28
   if (theme_get_setting('navbar_full_width')) {
31 29
     $variables['navbar_width'] = 'container-fluid';
32
-  }
33
-  else {
30
+  } else {
34 31
     $variables['navbar_width'] = 'container';
35 32
   }
36 33
 
37 34
   // Set container for Header
38 35
   if (theme_get_setting('header_full_width')) {
39 36
     $variables['header_width'] = 'container-fluid';
40
-  }
41
-  else {
37
+  } else {
42 38
     $variables['header_width'] = 'container';
43 39
   }
44 40
 
45 41
   // Set container for Footer
46 42
   if (theme_get_setting('footer_full_width')) {
47 43
     $variables['footer_width'] = 'container-fluid';
48
-  }
49
-  else {
44
+  } else {
50 45
     $variables['footer_width'] = 'container';
51 46
   }
52 47
 }
Please login to merge, or discard this patch.
modules/df/df_tools/df_tools_workflow/df_tools_workflow.module 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -134,8 +134,7 @@  discard block
 block discarded – undo
134 134
     if (isset($options['langcode']) && $node->hasTranslation($options['langcode'])) {
135 135
       $url_options['language'] = \Drupal::languageManager()->getLanguage($options['langcode']);
136 136
       $langcode = $options['langcode'];
137
-    }
138
-    else {
137
+    } else {
139 138
       $langcode = NULL;
140 139
     }
141 140
 
@@ -161,8 +160,7 @@  discard block
 block discarded – undo
161 160
             $replacements[$original] = Url::fromRoute('entity.node.latest_version', [
162 161
               'node' => $node->id(),
163 162
             ], $url_options)->toString();
164
-          }
165
-          else {
163
+          } else {
166 164
             $replacements[$original] = $latest->toUrl('canonical', $url_options)->toString();
167 165
           }
168 166
           break;
Please login to merge, or discard this patch.
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
 
@@ -151,8 +150,7 @@  discard block
 block discarded – undo
151 150
     foreach ($options as $key => $option) {
152 151
       if (is_numeric($option)) {
153 152
         $formula = str_replace(':' . $key, $option, $formula);
154
-      }
155
-      else {
153
+      } else {
156 154
         $formula = str_replace(':' . $key, $connection->escapeField($option), $formula);
157 155
       }
158 156
     }
Please login to merge, or discard this patch.
modules/df/df_tools/df_tools_media/df_tools_media.module 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -25,8 +25,7 @@  discard block
 block discarded – undo
25 25
 function df_tools_media_views_insert(ViewEntityInterface $view) {
26 26
   if (\Drupal::isConfigSyncing()) {
27 27
     return;
28
-  }
29
-  elseif (InstallerKernel::installationAttempted() && $view->id() == 'media') {
28
+  } elseif (InstallerKernel::installationAttempted() && $view->id() == 'media') {
30 29
     $display1 = &$view->getDisplay('entity_browser_1');
31 30
     $display2 = &$view->getDisplay('entity_browser_2');
32 31
     $display1['display_options']['filters']['field_tags_target_id'] = $display2['display_options']['filters']['field_tags_target_id'] = [
@@ -165,8 +164,7 @@  discard block
 block discarded – undo
165 164
     $entity->$image_field->focal_point = $x_y;
166 165
     $entity->$image_field->alt = $entity->label();
167 166
     $entity->$image_field->target_id = $file->id();
168
-  }
169
-  elseif (in_array($type, $types)
167
+  } elseif (in_array($type, $types)
170 168
     && $entity->hasField($image_field)
171 169
     && !$entity->get($image_field)->isEmpty()
172 170
     && $entity->hasField($unsplash_field)
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
@@ -97,8 +97,7 @@  discard block
 block discarded – undo
97 97
         ->getViewModes($entity->getEntityTypeId()));
98 98
       if (in_array($view_mode_id, $entity_view_mode_ids)) {
99 99
         $output = $entity->$field_name->view($view_mode_id);
100
-      }
101
-      else {
100
+      } else {
102 101
         // Each part of a custom (non-Entity Display) view mode ID is separated
103 102
         // by a dash; the first part must be the module name.
104 103
         $mode_id_parts = explode('-', $view_mode_id, 2);
@@ -115,8 +114,7 @@  discard block
 block discarded – undo
115 114
         'html' => $this->renderer->renderRoot($output),
116 115
       ];
117 116
       return new JsonResponse($data);
118
-    }
119
-    else {
117
+    } else {
120 118
       return new JsonResponse(['main_error' => $this->t('File does not exist.')]);
121 119
     }
122 120
   }
Please login to merge, or discard this patch.