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 ( 4b827e...a3374a )
by Brant
11:50
created
src/Plugin/Field/FieldFormatter/PanelizerThumbnailFormatter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -284,7 +284,7 @@
 block discarded – undo
284 284
       }
285 285
       else if ($referenced_entity instanceof MediaInterface) {
286 286
         if ($depth < self::DEPTH_LIMIT && $file = $this->getFileFromEntity($referenced_entity)) {
287
-          $return =  $file;
287
+          $return = $file;
288 288
         }
289 289
       }
290 290
     }
Please login to merge, or discard this patch.
modules/df/df_tools/df_tools_media/src/Plugin/Block/MediaEmbedBlock.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -139,7 +139,7 @@
 block discarded – undo
139 139
       $selection['table'][$mid] = [
140 140
         '#attributes' => [
141 141
           'class' => ['draggable'],
142
-          'data-entity-id' => $media->getEntityTypeId() . ':' . $mid,
142
+          'data-entity-id' => $media->getEntityTypeId().':'.$mid,
143 143
         ],
144 144
         'title' => ['#markup' => $media->label()],
145 145
         'type' => ['#markup' => $bundle_info[$media->bundle()]['label']],
Please login to merge, or discard this patch.
src/DFExtension/Context/MiscellaneousContext.behat.inc 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
 
58 58
     /** @var \Acquia\LightningExtension\Context\UtilityContext $utility */
59 59
     $utility = $this->getContext(UtilityContext::class);
60
-    $utility->acceptAlerts(function () {
60
+    $utility->acceptAlerts(function() {
61 61
       $this->awaitAjax();
62 62
     });
63 63
   }
Please login to merge, or discard this patch.
df/df_tools/df_tools_map/src/Plugin/Field/FieldWidget/SimpleGeocoder.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -181,11 +181,11 @@
 block discarded – undo
181 181
       // Check if this field is an Address field.
182 182
       if (isset($address['address_line1'])) {
183 183
         // Format the address as a single string.
184
-        $string .= $address['address_line1'] . "\n";
185
-        $string .= !empty($address['address_line2']) ? $address['address_line2'] . "\n" : '';
186
-        $string .= $address['locality'] . ', ';
187
-        $string .= str_replace('US-', '', $address['administrative_area']) . ' ';
188
-        $string .= $address['postal_code'] . "\n";
184
+        $string .= $address['address_line1']."\n";
185
+        $string .= !empty($address['address_line2']) ? $address['address_line2']."\n" : '';
186
+        $string .= $address['locality'].', ';
187
+        $string .= str_replace('US-', '', $address['administrative_area']).' ';
188
+        $string .= $address['postal_code']."\n";
189 189
         $string .= $address['country_code'];
190 190
       }
191 191
 
Please login to merge, or discard this patch.
modules/df_tools_gallery/src/Plugin/migrate/source/ImageGallery.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
       $image_names = explode(',', $images);
20 20
       $files = [];
21 21
       foreach ($image_names as $image_name) {
22
-        $path = dirname($this->configuration['path']) . '/images/' . $image_name;
22
+        $path = dirname($this->configuration['path']).'/images/'.$image_name;
23 23
         $data = file_get_contents($path);
24 24
         $uri = file_build_uri($image_name);
25 25
         $files[] = file_save_data($data, $uri);
Please login to merge, or discard this patch.
df/df_tools/df_tools_media/modules/df_tools_gallery/df_tools_gallery.module 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -11,14 +11,14 @@
 block discarded – undo
11 11
 function df_tools_gallery_library_info_alter(&$libraries, $extension) {
12 12
   // Optionally use the Libraries module to determine our library paths.
13 13
   if ($extension == 'df_tools_gallery' && \Drupal::moduleHandler()->moduleExists('libraries')) {
14
-    $imagesloaded_path = libraries_get_path('imagesloaded') . '/imagesloaded.pkgd.min.js';
15
-    $masonry_path = libraries_get_path('masonry') . '/dist/masonry.pkgd.min.js';
14
+    $imagesloaded_path = libraries_get_path('imagesloaded').'/imagesloaded.pkgd.min.js';
15
+    $masonry_path = libraries_get_path('masonry').'/dist/masonry.pkgd.min.js';
16 16
     $lightbox2_path = libraries_get_path('lightbox2');
17 17
 
18
-    $libraries['lightbox2']['css']['theme'] = ['/' . $lightbox2_path . '/dist/css/lightbox.min.css' => []];
19
-    $libraries['lightbox2']['js'] = ['/' . $lightbox2_path . '/dist/js/lightbox.min.js' => ['minified' => 'true']];
20
-    $libraries['imagesloaded']['js'] = ['/' . $imagesloaded_path => ['minified' => 'true']];
21
-    $libraries['masonry']['js'] = ['/' . $masonry_path => ['minified' => 'true']];
18
+    $libraries['lightbox2']['css']['theme'] = ['/'.$lightbox2_path.'/dist/css/lightbox.min.css' => []];
19
+    $libraries['lightbox2']['js'] = ['/'.$lightbox2_path.'/dist/js/lightbox.min.js' => ['minified' => 'true']];
20
+    $libraries['imagesloaded']['js'] = ['/'.$imagesloaded_path => ['minified' => 'true']];
21
+    $libraries['masonry']['js'] = ['/'.$masonry_path => ['minified' => 'true']];
22 22
   }
23 23
 }
24 24
 
Please login to merge, or discard this patch.
df/df_tools/df_tools_workflow/src/EventSubscriber/LatestCheckSubscriber.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
     if ($node = $event->getRequest()->get('node')) {
61 61
       if (\Drupal::currentUser()->hasPermission('view latest version')) {
62 62
         $theme = $this->themeManager->getActiveTheme()->getName();
63
-        $tag = 'config:block.block.' . $theme . '_local_actions';
63
+        $tag = 'config:block.block.'.$theme.'_local_actions';
64 64
         $this->cacheTagsInvalidator->invalidateTags([$tag]);
65 65
       }
66 66
     }
Please login to merge, or discard this patch.
modules/df/df_tools/df_tools_workflow/src/Routing/RouteSubscriber.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
    * {@inheritdoc}
19 19
    */
20 20
   public static function getSubscribedEvents() {
21
-    $events[RoutingEvents::ALTER] = ['onAlterRoutes',-9999];  // negative Values means "late"
21
+    $events[RoutingEvents::ALTER] = ['onAlterRoutes', -9999]; // negative Values means "late"
22 22
     return $events;
23 23
   }
24 24
 
Please login to merge, or discard this patch.
modules/df/df_tools/df_tools_blocks/df_tools_blocks.module 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
         $icon = $build[$field_name]['#object']->field_icon->getString();
74 74
         if (!empty($icon)) {
75 75
           $wrapper['#children'][$field_name] = [
76
-            '#markup' => '<i class="fa ' . $icon . ' hero-icon"></i>',
76
+            '#markup' => '<i class="fa '.$icon.' hero-icon"></i>',
77 77
             '#allowed_tags' => ['i'],
78 78
           ];
79 79
         }
@@ -87,13 +87,13 @@  discard block
 block discarded – undo
87 87
     // Attach styles.
88 88
     $alignment = $entity->get('field_hero_alignment')->getString();
89 89
     if (preg_match('/^[a-z_]+$/i', $alignment)) {
90
-      $wrapper['#attributes']['class'][] = Html::cleanCssIdentifier('hero-block-align-' . $alignment);
90
+      $wrapper['#attributes']['class'][] = Html::cleanCssIdentifier('hero-block-align-'.$alignment);
91 91
     }
92 92
     $color_regex = '/^#[0-9a-f]{6}$/i';
93 93
     $text_color = $entity->get('field_text_color')->getString();
94 94
     if (preg_match($color_regex, $text_color)) {
95
-      $wrapper['#children']['field_first_line']['#attributes']['style'] = 'color: ' . $text_color;
96
-      $wrapper['#children']['field_second_line']['#attributes']['style'] = 'color: ' . $text_color;
95
+      $wrapper['#children']['field_first_line']['#attributes']['style'] = 'color: '.$text_color;
96
+      $wrapper['#children']['field_second_line']['#attributes']['style'] = 'color: '.$text_color;
97 97
     }
98 98
     $gradient_color = $entity->get('field_gradient_color')->getString();
99 99
     if (preg_match($color_regex, $gradient_color)) {
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
     }
115 115
     $callout_color = $entity->get('field_callout_color')->getString();
116 116
     if (preg_match($color_regex, $callout_color)) {
117
-      $style = 'background-color: ' . $callout_color . ';';
117
+      $style = 'background-color: '.$callout_color.';';
118 118
       $hex = trim($callout_color, '#');
119 119
       $r = hexdec(substr($hex, 0, 2));
120 120
       $g = hexdec(substr($hex, 2, 2));
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
167 167
   if (isset($variables['elements']['content']) && isset($variables['elements']['content']['#block_content'])) {
168 168
     /** @var \Drupal\block_content\Entity\BlockContent $entity */
169 169
     $entity = $variables['elements']['content']['#block_content'];
170
-    $suggestions[] = 'block__block_content__' . $entity->bundle();
170
+    $suggestions[] = 'block__block_content__'.$entity->bundle();
171 171
   }
172 172
 }
173 173
 
@@ -355,7 +355,7 @@  discard block
 block discarded – undo
355 355
   // Set up the correct pa$th for the CSV files in this module.
356 356
   $types = ['hero', 'media'];
357 357
   foreach ($types as $type) {
358
-    $id = 'import_block_' . $type;
358
+    $id = 'import_block_'.$type;
359 359
     $definitions[$id]['source']['path'] = str_replace('..', dirname(__FILE__), $definitions[$id]['source']['path']);
360 360
   }
361 361
 }
@@ -416,7 +416,7 @@  discard block
 block discarded – undo
416 416
     // 'Current @Entity_Type' category. If the block is not a field on the
417 417
     // current entity, allow its category to be remapped.
418 418
     if ($category === '@entity') {
419
-      $block_info[$key]['category'] = $info['category']->render() . ' Fields';
419
+      $block_info[$key]['category'] = $info['category']->render().' Fields';
420 420
     }
421 421
     // Place Block Content entities into categories based on their type.
422 422
     elseif ($category === 'Custom') {
Please login to merge, or discard this patch.