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-users ( ca2b2d )
by Kevin
15:55
created
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/src/Plugin/Block/MagellanBlock.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -22,12 +22,12 @@
 block discarded – undo
22 22
   public function build() {
23 23
     $build = [
24 24
       '#markup' =>
25
-        '<div class="df-tools-magellan-block hide-for-small-only full-width-row sticky-container">' .
26
-        '  <div data-sticky-light>' .
27
-        '    <nav data-magellan-light>' .
28
-        '      <ul class="horizontal menu nav expanded"></ul>' .
29
-        '    </nav>' .
30
-        '  </div>' .
25
+        '<div class="df-tools-magellan-block hide-for-small-only full-width-row sticky-container">'.
26
+        '  <div data-sticky-light>'.
27
+        '    <nav data-magellan-light>'.
28
+        '      <ul class="horizontal menu nav expanded"></ul>'.
29
+        '    </nav>'.
30
+        '  </div>'.
31 31
         '</div>',
32 32
     ];
33 33
 
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
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
   batch_set($batch);
91 91
   // Set a batch to update configuration as well.
92 92
   if ($batch = locale_config_batch_update_components($options, $langcodes)) {
93
-    $batch['file'] = drupal_get_path('module', 'df_tools_translation') . '/df_tools_translation.batch.inc';
93
+    $batch['file'] = drupal_get_path('module', 'df_tools_translation').'/df_tools_translation.batch.inc';
94 94
     batch_set($batch);
95 95
   }
96 96
 }
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
 
117 117
   // Import each file.
118 118
   foreach ($langcodes as $langcode) {
119
-    $filepath = DRUPAL_ROOT . '/' . $path . '/translations/' . $langcode . '.po';
119
+    $filepath = DRUPAL_ROOT.'/'.$path.'/translations/'.$langcode.'.po';
120 120
     if (file_exists($filepath)) {
121 121
       \Drupal::moduleHandler()->loadInclude('locale', 'bulk.inc');
122 122
       \Drupal::moduleHandler()->loadInclude('locale', 'translation.inc');
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
       ]);
131 131
 
132 132
       $original_file = (object) [
133
-        'filename' => $langcode . '.po',
133
+        'filename' => $langcode.'.po',
134 134
         'uri' => $filepath
135 135
       ];
136 136
       $file = locale_translate_file_attach_properties($original_file, $options);
@@ -173,7 +173,7 @@  discard block
 block discarded – undo
173 173
       if ($langcode == 'en') {
174 174
         $langcode = '';
175 175
       }
176
-      $url = \Drupal\Core\Url::fromUri('base:/' . $langcode . $alias);
176
+      $url = \Drupal\Core\Url::fromUri('base:/'.$langcode.$alias);
177 177
 
178 178
       $current_name = [
179 179
         '#markup' => t($language->getName())
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.
themes/one/includes/html.inc 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
   $request = \Drupal::request();
17 17
 
18 18
   // Add language body class.
19
-  $variables['attributes']['class'][] = 'lang-' . $site_language;
19
+  $variables['attributes']['class'][] = 'lang-'.$site_language;
20 20
 
21 21
   // Classes for body element. Allows advanced theming based on context
22 22
   $is_front_page = \Drupal::service('path.matcher')->isFrontPage();
@@ -30,10 +30,10 @@  discard block
 block discarded – undo
30 30
         $section = 'node-add';
31 31
       }
32 32
       elseif (isset($arg[2]) && is_numeric($arg[1]) && ($arg[2] == 'edit' || $arg[2] == 'delete')) {
33
-        $section = 'node-' . $arg[2];
33
+        $section = 'node-'.$arg[2];
34 34
       }
35 35
     }
36
-    $variables['attributes']['class'][] = \Drupal\Component\Utility\Html::getClass('section-' . $section);
36
+    $variables['attributes']['class'][] = \Drupal\Component\Utility\Html::getClass('section-'.$section);
37 37
   }
38 38
 
39 39
   // Store the menu item since it has some useful information.
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.