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-rewrite-dev ( a4d946...efc148 )
by Brant
04:45
created
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/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.
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.
@@ -221,7 +221,7 @@  discard block
 block discarded – undo
221 221
                 'button' => [
222 222
                   '#type' => 'container',
223 223
                   '#attributes' => ['class' => ['moderation-sidebar-form-button'], 'style' => ['position: relative']],
224
-                  'child-icon' => ['#markup' => '<i class="material-icons">' . $settings['icon'] . '</i>'],
224
+                  'child-icon' => ['#markup' => '<i class="material-icons">'.$settings['icon'].'</i>'],
225 225
                   'child-action' => $build['actions']['quick_draft_form'][$id],
226 226
                 ],
227 227
               ];
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
@@ -152,8 +152,8 @@
 block discarded – undo
152 152
     && $entity->hasField($image_field)
153 153
   ) {
154 154
     $id = $entity->get($unsplash_field)->value;
155
-    $raw_image = file_get_contents('unsplash://' . $id);
156
-    $filename = $id . '.jpg';
155
+    $raw_image = file_get_contents('unsplash://'.$id);
156
+    $filename = $id.'.jpg';
157 157
     $file = file_save_data($raw_image, "public://images/$filename", FILE_EXISTS_REPLACE);
158 158
     $x_y = \Drupal::config('focal_point.settings')->get('default_value');
159 159
     $entity->$image_field->focal_point = $x_y;
Please login to merge, or discard this patch.