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.
Completed
Push — 8.x-2.x ( 19822f...47247e )
by Samuel
16:46
created
modules/df/df_tools/df_tools_blocks/df_tools_blocks.module 1 patch
Braces   +5 added lines, -10 removed lines patch added patch discarded remove patch
@@ -34,8 +34,7 @@  discard block
 block discarded – undo
34 34
           ];
35 35
         }
36 36
         unset($build[$field_name]);
37
-      }
38
-      else if ($field_name != 'field_hero_image') {
37
+      } else if ($field_name != 'field_hero_image') {
39 38
         $wrapper['#children'][$field_name] = $build[$field_name];
40 39
         unset($build[$field_name]);
41 40
       }
@@ -76,8 +75,7 @@  discard block
 block discarded – undo
76 75
       if ($r + $g + $b > 382) {
77 76
         $wrapper['#children']['field_hero_link'][0]['#attributes']['class'][] = 'hero-link-light-bg';
78 77
         $style .= 'border-color:black;color:black;';
79
-      }
80
-      else {
78
+      } else {
81 79
         $wrapper['#children']['field_hero_link'][0]['#attributes']['class'][] = 'hero-link-dark-bg';
82 80
         $style .= 'border-color:white;color:white;';
83 81
       }
@@ -187,8 +185,7 @@  discard block
 block discarded – undo
187 185
         }
188 186
       }
189 187
 
190
-    }
191
-    else if ($form['plugin_id']['#value'] == 'image_embed' && !$form_state->isProcessingInput()) {
188
+    } else if ($form['plugin_id']['#value'] == 'image_embed' && !$form_state->isProcessingInput()) {
192 189
       $form['#attached']['library'][] = 'df_tools_blocks/auto_open';
193 190
       $form['#attributes']['data-df-tools-blocks-auto-open'] = 'settings_selection_fids_entity_browser';
194 191
     }
@@ -340,14 +337,12 @@  discard block
 block discarded – undo
340 337
     if (isset($block_info[$key])) {
341 338
       if (isset($category_map[$category])) {
342 339
         $block_info[$key]['category'] = t($category_map[$category]);
343
-      }
344
-      else if (is_string($block_info[$key]['category'])) {
340
+      } else if (is_string($block_info[$key]['category'])) {
345 341
         $block_info[$key]['category'] = t($block_info[$key]['category']);
346 342
       }
347 343
       if (isset($label_map[$label])) {
348 344
         $block_info[$key]['label'] = $label_map[$label];
349
-      }
350
-      else if (is_string($block_info[$key]['label'])) {
345
+      } else if (is_string($block_info[$key]['label'])) {
351 346
         $block_info[$key]['label'] = t($block_info[$key]['label']);
352 347
       }
353 348
     }
Please login to merge, or discard this patch.