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-patches ( 6119b9...d08722 )
by Brant
05:07
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.
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_blocks/df_tools_blocks.module 1 patch
Spacing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
     }
63 63
 
64 64
     $hero_callout_width = $entity->get('field_callout_width')->getString();
65
-    switch($hero_callout_width) {
65
+    switch ($hero_callout_width) {
66 66
       case '03':
67 67
         $hero_callout_width = 'col col-md-5 col-lg-3';
68 68
         break;
@@ -96,12 +96,12 @@  discard block
 block discarded – undo
96 96
     }
97 97
 
98 98
     $wrapper = [
99
-      '#prefix' => '<div class="container"><div class="col-12"><div class="row ' . $hero_alignment . '">',
99
+      '#prefix' => '<div class="container"><div class="col-12"><div class="row '.$hero_alignment.'">',
100 100
       '#suffix' => '</div></div></div>',
101 101
       '#type' => 'container',
102 102
       '#weight' => -1,
103 103
       '#attributes' => [
104
-        'class' => ['hero-block-fields', $hero_callout_width ],
104
+        'class' => ['hero-block-fields', $hero_callout_width],
105 105
       ],
106 106
       '#children' => [],
107 107
     ];
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
         $icon = $build[$field_name]['#object']->field_icon->getString();
111 111
         if (!empty($icon)) {
112 112
           $wrapper['#children'][$field_name] = [
113
-            '#markup' => '<i class="fa ' . $icon . ' hero-icon"></i>',
113
+            '#markup' => '<i class="fa '.$icon.' hero-icon"></i>',
114 114
             '#allowed_tags' => ['i'],
115 115
           ];
116 116
         }
@@ -123,15 +123,15 @@  discard block
 block discarded – undo
123 123
     }
124 124
 
125 125
     $hero_first_line_size = $entity->get('field_first_line_size')->getString();
126
-    $wrapper['#children']['field_first_line']['#attributes']['class'][] = 'size-' . $hero_first_line_size;
126
+    $wrapper['#children']['field_first_line']['#attributes']['class'][] = 'size-'.$hero_first_line_size;
127 127
 
128 128
     $hero_second_line_size = $entity->get('field_second_line_size')->getString();
129
-    $wrapper['#children']['field_second_line']['#attributes']['class'][] = 'size-' . $hero_second_line_size;
129
+    $wrapper['#children']['field_second_line']['#attributes']['class'][] = 'size-'.$hero_second_line_size;
130 130
 
131 131
     // Attach styles.
132 132
     $alignment = $entity->get('field_hero_alignment')->getString();
133 133
     if (preg_match('/^[a-z_]+$/i', $alignment)) {
134
-      $wrapper['#attributes']['class'][] = Html::cleanCssIdentifier('hero-block-align-' . $alignment);
134
+      $wrapper['#attributes']['class'][] = Html::cleanCssIdentifier('hero-block-align-'.$alignment);
135 135
     }
136 136
     $color_regex = '/^#[0-9a-f]{6}$/i';
137 137
     $callout_background_color = $entity->get('field_callout_background_color')->getString();
@@ -144,8 +144,8 @@  discard block
 block discarded – undo
144 144
     $wrapper['#attributes']['style'] = $callout_background_color;
145 145
     $text_color = $entity->get('field_text_color')->getString();
146 146
     if (preg_match($color_regex, $text_color)) {
147
-      $wrapper['#children']['field_first_line']['#attributes']['style'] = 'color: ' . $text_color;
148
-      $wrapper['#children']['field_second_line']['#attributes']['style'] = 'color: ' . $text_color;
147
+      $wrapper['#children']['field_first_line']['#attributes']['style'] = 'color: '.$text_color;
148
+      $wrapper['#children']['field_second_line']['#attributes']['style'] = 'color: '.$text_color;
149 149
     }
150 150
     $gradient_color = $entity->get('field_gradient_color')->getString();
151 151
     if (preg_match($color_regex, $gradient_color)) {
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
166 166
     }
167 167
     $callout_color = $entity->get('field_callout_color')->getString();
168 168
     if (preg_match($color_regex, $callout_color)) {
169
-      $style = 'background-color: ' . $callout_color . ';';
169
+      $style = 'background-color: '.$callout_color.';';
170 170
       $hex = trim($callout_color, '#');
171 171
       $r = hexdec(substr($hex, 0, 2));
172 172
       $g = hexdec(substr($hex, 2, 2));
@@ -219,7 +219,7 @@  discard block
 block discarded – undo
219 219
   if (isset($variables['elements']['content']) && isset($variables['elements']['content']['#block_content'])) {
220 220
     /** @var \Drupal\block_content\Entity\BlockContent $entity */
221 221
     $entity = $variables['elements']['content']['#block_content'];
222
-    $suggestions[] = 'block__block_content__' . $entity->bundle();
222
+    $suggestions[] = 'block__block_content__'.$entity->bundle();
223 223
   }
224 224
 }
225 225
 
@@ -514,7 +514,7 @@  discard block
 block discarded – undo
514 514
     // 'Current @Entity_Type' category. If the block is not a field on the
515 515
     // current entity, allow its category to be remapped.
516 516
     if ($category === '@entity') {
517
-      $block_info[$key]['category'] = $info['category']->render() . ' Fields';
517
+      $block_info[$key]['category'] = $info['category']->render().' Fields';
518 518
     }
519 519
     // Place Block Content entities into categories based on their type.
520 520
     elseif ($category === 'Custom') {
Please login to merge, or discard this patch.