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-d9 ( 85de80 )
by Kevin
13:43
created
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.
df_tools_translation_migrate/df_tools_translation_migrate.scenarios.inc 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
 
27 27
   /** @var Drupal\migrate_source_csv\CSVFileObject $iterator */
28 28
   $iterator = $source->initializeIterator();
29
-  $filename = $iterator->getPath() . '/' . $iterator->getFilename();
29
+  $filename = $iterator->getPath().'/'.$iterator->getFilename();
30 30
 
31 31
   /** @var \Drupal\migrate\Plugin\migrate\destination\EntityContentBase $destination_plugin */
32 32
   $destination_plugin = $migration->getDestinationPlugin();
Please login to merge, or discard this patch.
modules/df/df_tools/df_tools_media/df_tools_media.module 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -153,8 +153,8 @@
 block discarded – undo
153 153
     && $entity->hasField($image_field)
154 154
   ) {
155 155
     $id = $entity->get($unsplash_field)->value;
156
-    $raw_image = file_get_contents('unsplash://' . $id);
157
-    $filename = $id . '.jpg';
156
+    $raw_image = file_get_contents('unsplash://'.$id);
157
+    $filename = $id.'.jpg';
158 158
     $images_dir = "public://images";
159 159
     if (!is_dir($images_dir)) {
160 160
       mkdir($images_dir);
Please login to merge, or discard this patch.
df_tools_display/src/Plugin/DisplayVariant/LandingDisplayVariant.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
     }
42 42
 
43 43
     // Append the prefix before buildRegions.
44
-    $build['landing-top']['#prefix'] = '<div class="landing-display-' . $class . ' container-fluid">';
44
+    $build['landing-top']['#prefix'] = '<div class="landing-display-'.$class.' container-fluid">';
45 45
 
46 46
     // Build the regions via PageBlockDisplayVariant::buildRegions.
47 47
     $build = parent::buildRegions($build);
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
         continue;
53 53
       }
54 54
       $region_name = Html::getClass("block-region-$region");
55
-      $build[$region]['#prefix'] = '<div class="' . $region_name . ' row">';
55
+      $build[$region]['#prefix'] = '<div class="'.$region_name.' row">';
56 56
     }
57 57
 
58 58
     // Add suffix for wrapper after buildRegions.
Please login to merge, or discard this patch.
modules/df/df_tools/df_tools_blocks/df_tools_blocks.module 1 patch
Spacing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
     }
78 78
 
79 79
     $hero_callout_width = $entity->get('field_callout_width')->getString();
80
-    switch($hero_callout_width) {
80
+    switch ($hero_callout_width) {
81 81
       case '03':
82 82
         $hero_callout_width = 'col col-md-5 col-lg-3';
83 83
         break;
@@ -111,12 +111,12 @@  discard block
 block discarded – undo
111 111
     }
112 112
 
113 113
     $wrapper = [
114
-      '#prefix' => '<div class="container"><div class="col-12"><div class="row ' . $hero_alignment . '">',
114
+      '#prefix' => '<div class="container"><div class="col-12"><div class="row '.$hero_alignment.'">',
115 115
       '#suffix' => '</div></div></div>',
116 116
       '#type' => 'container',
117 117
       '#weight' => -1,
118 118
       '#attributes' => [
119
-        'class' => ['hero-block-fields', $hero_callout_width ],
119
+        'class' => ['hero-block-fields', $hero_callout_width],
120 120
       ],
121 121
       '#children' => [],
122 122
     ];
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
         $icon = $build[$field_name]['#object']->field_icon->getString();
126 126
         if (!empty($icon)) {
127 127
           $wrapper['#children'][$field_name] = [
128
-            '#markup' => '<i class="fa ' . $icon . ' hero-icon"></i>',
128
+            '#markup' => '<i class="fa '.$icon.' hero-icon"></i>',
129 129
             '#allowed_tags' => ['i'],
130 130
           ];
131 131
         }
@@ -138,15 +138,15 @@  discard block
 block discarded – undo
138 138
     }
139 139
 
140 140
     $hero_first_line_size = $entity->get('field_first_line_size')->getString();
141
-    $wrapper['#children']['field_first_line']['#attributes']['class'][] = 'size-' . $hero_first_line_size;
141
+    $wrapper['#children']['field_first_line']['#attributes']['class'][] = 'size-'.$hero_first_line_size;
142 142
 
143 143
     $hero_second_line_size = $entity->get('field_second_line_size')->getString();
144
-    $wrapper['#children']['field_second_line']['#attributes']['class'][] = 'size-' . $hero_second_line_size;
144
+    $wrapper['#children']['field_second_line']['#attributes']['class'][] = 'size-'.$hero_second_line_size;
145 145
 
146 146
     // Attach styles.
147 147
     $alignment = $entity->get('field_hero_alignment')->getString();
148 148
     if (preg_match('/^[a-z_]+$/i', $alignment)) {
149
-      $wrapper['#attributes']['class'][] = Html::cleanCssIdentifier('text-align-' . $text_alignment);
149
+      $wrapper['#attributes']['class'][] = Html::cleanCssIdentifier('text-align-'.$text_alignment);
150 150
     }
151 151
     $color_regex = '/^#[0-9a-f]{6}$/i';
152 152
     $callout_background_color = $entity->get('field_callout_background_color')->getString();
@@ -159,8 +159,8 @@  discard block
 block discarded – undo
159 159
     $wrapper['#attributes']['style'] = $callout_background_color;
160 160
     $text_color = $entity->get('field_text_color')->getString();
161 161
     if (preg_match($color_regex, $text_color)) {
162
-      $wrapper['#children']['field_first_line']['#attributes']['style'] = 'color: ' . $text_color;
163
-      $wrapper['#children']['field_second_line']['#attributes']['style'] = 'color: ' . $text_color;
162
+      $wrapper['#children']['field_first_line']['#attributes']['style'] = 'color: '.$text_color;
163
+      $wrapper['#children']['field_second_line']['#attributes']['style'] = 'color: '.$text_color;
164 164
     }
165 165
     if ($entity->get('field_gradient')->getString()) {
166 166
       $gradient_color = $entity->get('field_gradient_color')->getString();
@@ -183,7 +183,7 @@  discard block
 block discarded – undo
183 183
     }
184 184
     $callout_color = $entity->get('field_callout_color')->getString();
185 185
     if (preg_match($color_regex, $callout_color)) {
186
-      $style = 'background-color: ' . $callout_color . ';';
186
+      $style = 'background-color: '.$callout_color.';';
187 187
       $hex = trim($callout_color, '#');
188 188
       $r = hexdec(substr($hex, 0, 2));
189 189
       $g = hexdec(substr($hex, 2, 2));
@@ -236,7 +236,7 @@  discard block
 block discarded – undo
236 236
   if (isset($variables['elements']['content']) && isset($variables['elements']['content']['#block_content'])) {
237 237
     /** @var \Drupal\block_content\Entity\BlockContent $entity */
238 238
     $entity = $variables['elements']['content']['#block_content'];
239
-    $suggestions[] = 'block__block_content__' . $entity->bundle();
239
+    $suggestions[] = 'block__block_content__'.$entity->bundle();
240 240
   }
241 241
 }
242 242
 
@@ -533,7 +533,7 @@  discard block
 block discarded – undo
533 533
     // 'Current @Entity_Type' category. If the block is not a field on the
534 534
     // current entity, allow its category to be remapped.
535 535
     if ($category === '@entity') {
536
-      $block_info[$key]['category'] = $info['category']->render() . ' Fields';
536
+      $block_info[$key]['category'] = $info['category']->render().' Fields';
537 537
     }
538 538
     // Place Block Content entities into categories based on their type.
539 539
     elseif ($category === 'Custom') {
Please login to merge, or discard this patch.
RoboFile.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
    * @return \Robo\Contract\TaskInterface
40 40
    *   The task to execute.
41 41
    */
42
-  public function configureBehat ($base_url = NULL) {
42
+  public function configureBehat($base_url = NULL) {
43 43
     $configuration = [];
44 44
 
45 45
     /** @var Finder $partials */
Please login to merge, or discard this patch.
df/df_tools/df_tools_articles/src/Plugin/Block/ArticleNodeEndpointBlock.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -56,12 +56,12 @@
 block discarded – undo
56 56
     $build = array();
57 57
     global $base_url;
58 58
     header('Content-Type: application/json');
59
-    $json_output = (string) $this->httpClient->get($base_url . '/api/node/article')->getBody();
59
+    $json_output = (string) $this->httpClient->get($base_url.'/api/node/article')->getBody();
60 60
     $json_pretty = json_encode(json_decode($json_output), JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES);
61 61
     $json_indented_by_2 = preg_replace('/^(  +?)\\1(?=[^ ])/m', '$1', $json_pretty);
62 62
     $build['article_node_endpoint_block']['#markup'] = '<a class="btn btn-primary coh-style-link-button open-apiModal" href="#open">Expand API Response</a>
63
-    <div class="apiResponse"><pre><code class="language-json">' . $json_indented_by_2 . '</code></pre></div>
64
-    <div class="apiResponseModal"><pre><code class="language-json">' . $json_indented_by_2 . '</code></pre></div>';
63
+    <div class="apiResponse"><pre><code class="language-json">' . $json_indented_by_2.'</code></pre></div>
64
+    <div class="apiResponseModal"><pre><code class="language-json">' . $json_indented_by_2.'</code></pre></div>';
65 65
     $build['article_node_endpoint_block']['#attached']['library'][] = 'df_tools_articles/main';
66 66
     return $build;
67 67
   }
Please login to merge, or discard this patch.
modules/df/df_tools/df_tools_translation/df_tools_translation.module 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
   batch_set($batch);
72 72
   // Set a batch to update configuration as well.
73 73
   if ($batch = locale_config_batch_update_components($options, $langcodes)) {
74
-    $batch['file'] = drupal_get_path('module', 'df_tools_translation') . '/df_tools_translation.batch.inc';
74
+    $batch['file'] = drupal_get_path('module', 'df_tools_translation').'/df_tools_translation.batch.inc';
75 75
     batch_set($batch);
76 76
   }
77 77
 }
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
 
98 98
   // Import each file.
99 99
   foreach ($langcodes as $langcode) {
100
-    $filepath = DRUPAL_ROOT . '/' . $path . '/translations/' . $langcode . '.po';
100
+    $filepath = DRUPAL_ROOT.'/'.$path.'/translations/'.$langcode.'.po';
101 101
     if (file_exists($filepath)) {
102 102
       \Drupal::moduleHandler()->loadInclude('locale', 'bulk.inc');
103 103
       \Drupal::moduleHandler()->loadInclude('locale', 'translation.inc');
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
       ]);
112 112
 
113 113
       $original_file = (object) [
114
-        'filename' => $langcode . '.po',
114
+        'filename' => $langcode.'.po',
115 115
         'uri' => $filepath
116 116
       ];
117 117
       $file = locale_translate_file_attach_properties($original_file, $options);
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
       if ($langcode == 'en') {
155 155
         $langcode = '';
156 156
       }
157
-      $url = Url::fromUri('base:/' . $langcode . $alias);
157
+      $url = Url::fromUri('base:/'.$langcode.$alias);
158 158
 
159 159
       $current_name = [
160 160
         '#markup' => t($language->getName())
Please login to merge, or discard this patch.