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-cleanup ( 4cb12e...9d0b42 )
by Brant
04:22
created
modules/df/df_tools/df_tools_workflow/df_tools_workflow.module 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -210,7 +210,7 @@  discard block
 block discarded – undo
210 210
           if (!empty($settings)) {
211 211
             // Use the Type Style color as the button's background color.
212 212
             if (!empty($settings['color'])) {
213
-              $build['actions']['quick_draft_form'][$id]['#attributes']['style'] = 'background-color: ' . $settings['color'];
213
+              $build['actions']['quick_draft_form'][$id]['#attributes']['style'] = 'background-color: '.$settings['color'];
214 214
             }
215 215
 
216 216
             // Add the Type Style icon to the button.
@@ -219,7 +219,7 @@  discard block
 block discarded – undo
219 219
                 '#type' => 'container',
220 220
                 $build['actions']['quick_draft_form'][$id],
221 221
                 [
222
-                  '#markup' => '<i class="material-icons">' . $settings['icon'] . '</i>'
222
+                  '#markup' => '<i class="material-icons">'.$settings['icon'].'</i>'
223 223
                 ],
224 224
                 '#attributes' => [
225 225
                   'class' => ['moderation-sidebar-button-wrapper'],
Please login to merge, or discard this patch.
modules/df/df_tools/df_tools_blocks/df_tools_blocks.module 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
     }
77 77
 
78 78
     $wrapper = [
79
-      '#prefix' => '<div class="container"><div class="row ' . $hero_alignment . '">',
79
+      '#prefix' => '<div class="container"><div class="row '.$hero_alignment.'">',
80 80
       '#suffix' => '</div></div>',
81 81
       '#type' => 'container',
82 82
       '#weight' => -1,
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
         $icon = $build[$field_name]['#object']->field_icon->getString();
91 91
         if (!empty($icon)) {
92 92
           $wrapper['#children'][$field_name] = [
93
-            '#markup' => '<i class="fa ' . $icon . ' hero-icon"></i>',
93
+            '#markup' => '<i class="fa '.$icon.' hero-icon"></i>',
94 94
             '#allowed_tags' => ['i'],
95 95
           ];
96 96
         }
@@ -104,13 +104,13 @@  discard block
 block discarded – undo
104 104
     // Attach styles.
105 105
     $alignment = $entity->get('field_hero_alignment')->getString();
106 106
     if (preg_match('/^[a-z_]+$/i', $alignment)) {
107
-      $wrapper['#attributes']['class'][] = Html::cleanCssIdentifier('hero-block-align-' . $alignment);
107
+      $wrapper['#attributes']['class'][] = Html::cleanCssIdentifier('hero-block-align-'.$alignment);
108 108
     }
109 109
     $color_regex = '/^#[0-9a-f]{6}$/i';
110 110
     $text_color = $entity->get('field_text_color')->getString();
111 111
     if (preg_match($color_regex, $text_color)) {
112
-      $wrapper['#children']['field_first_line']['#attributes']['style'] = 'color: ' . $text_color;
113
-      $wrapper['#children']['field_second_line']['#attributes']['style'] = 'color: ' . $text_color;
112
+      $wrapper['#children']['field_first_line']['#attributes']['style'] = 'color: '.$text_color;
113
+      $wrapper['#children']['field_second_line']['#attributes']['style'] = 'color: '.$text_color;
114 114
     }
115 115
     $gradient_color = $entity->get('field_gradient_color')->getString();
116 116
     if (preg_match($color_regex, $gradient_color)) {
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
     }
132 132
     $callout_color = $entity->get('field_callout_color')->getString();
133 133
     if (preg_match($color_regex, $callout_color)) {
134
-      $style = 'background-color: ' . $callout_color . ';';
134
+      $style = 'background-color: '.$callout_color.';';
135 135
       $hex = trim($callout_color, '#');
136 136
       $r = hexdec(substr($hex, 0, 2));
137 137
       $g = hexdec(substr($hex, 2, 2));
@@ -184,7 +184,7 @@  discard block
 block discarded – undo
184 184
   if (isset($variables['elements']['content']) && isset($variables['elements']['content']['#block_content'])) {
185 185
     /** @var \Drupal\block_content\Entity\BlockContent $entity */
186 186
     $entity = $variables['elements']['content']['#block_content'];
187
-    $suggestions[] = 'block__block_content__' . $entity->bundle();
187
+    $suggestions[] = 'block__block_content__'.$entity->bundle();
188 188
   }
189 189
 }
190 190
 
@@ -372,7 +372,7 @@  discard block
 block discarded – undo
372 372
   // Set up the correct pa$th for the CSV files in this module.
373 373
   $types = ['hero', 'media'];
374 374
   foreach ($types as $type) {
375
-    $id = 'import_block_' . $type;
375
+    $id = 'import_block_'.$type;
376 376
     $definitions[$id]['source']['path'] = str_replace('..', dirname(__FILE__), $definitions[$id]['source']['path']);
377 377
   }
378 378
 }
@@ -433,7 +433,7 @@  discard block
 block discarded – undo
433 433
     // 'Current @Entity_Type' category. If the block is not a field on the
434 434
     // current entity, allow its category to be remapped.
435 435
     if ($category === '@entity') {
436
-      $block_info[$key]['category'] = $info['category']->render() . ' Fields';
436
+      $block_info[$key]['category'] = $info['category']->render().' Fields';
437 437
     }
438 438
     // Place Block Content entities into categories based on their type.
439 439
     elseif ($category === 'Custom') {
Please login to merge, or discard this patch.
themes/one/includes/menu.inc 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
  */
24 24
 function one_theme_suggestions_menu_alter(&$suggestions, array $variables) {
25 25
   if (isset($variables['attributes']['region'])) {
26
-    $suggestions[] = 'menu__' . $variables['attributes']['region'];
27
-    $suggestions[] = 'menu__' . $variables['menu_name'] . '__' . $variables['attributes']['region'];
26
+    $suggestions[] = 'menu__'.$variables['attributes']['region'];
27
+    $suggestions[] = 'menu__'.$variables['menu_name'].'__'.$variables['attributes']['region'];
28 28
   }
29 29
 }
Please login to merge, or discard this patch.
themes/one/includes/field.inc 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,6 +13,6 @@
 block discarded – undo
13 13
   $view_mode = $element['#view_mode'];
14 14
 
15 15
   foreach ($original_suggestions as $suggestion) {
16
-    $suggestions[] = $suggestion . '__' . $view_mode;
16
+    $suggestions[] = $suggestion.'__'.$view_mode;
17 17
   }
18 18
 }
Please login to merge, or discard this patch.