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-8.7 ( 1dc6cd...13d39a )
by Kevin
04:40
created
modules/df/df_tools/df_tools_media/df_tools_media.module 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,8 +29,7 @@
 block discarded – undo
29 29
 function df_tools_media_views_insert(ViewEntityInterface $view) {
30 30
   if (\Drupal::isConfigSyncing()) {
31 31
     return;
32
-  }
33
-  elseif (drupal_installation_attempted() && $view->id() == 'media') {
32
+  } elseif (drupal_installation_attempted() && $view->id() == 'media') {
34 33
     $display1 = &$view->getDisplay('entity_browser_1');
35 34
     $display2 = &$view->getDisplay('entity_browser_2');
36 35
     $display1['display_options']['filters']['field_tags_target_id'] = $display2['display_options']['filters']['field_tags_target_id'] = [
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_workflow/df_tools_workflow.module 2 patches
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -68,8 +68,7 @@  discard block
 block discarded – undo
68 68
     if (isset($options['langcode'])) {
69 69
       $url_options['language'] = \Drupal::languageManager()->getLanguage($options['langcode']);
70 70
       $langcode = $options['langcode'];
71
-    }
72
-    else {
71
+    } else {
73 72
       $langcode = NULL;
74 73
     }
75 74
 
@@ -93,8 +92,7 @@  discard block
 block discarded – undo
93 92
             $replacements[$original] = Url::fromRoute('entity.node.latest_version', [
94 93
               'node' => $node->id(),
95 94
             ], $url_options)->toString();
96
-          }
97
-          else {
95
+          } else {
98 96
             $replacements[$original] = $latest->toUrl('canonical', $url_options)->toString();
99 97
           }
100 98
           break;
Please login to merge, or discard this 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.
@@ -219,7 +219,7 @@  discard block
 block discarded – undo
219 219
                 '#type' => 'container',
220 220
                 $build['actions']['quick_draft_form'][$id],
221 221
                 [
222
-                  '#markup' => '<i class="material-icons">' . $settings['icon'] . '</i>'
222
+                  '#markup' => '<i class="material-icons">'.$settings['icon'].'</i>'
223 223
                 ],
224 224
                 '#attributes' => [
225 225
                   'class' => ['moderation-sidebar-button-wrapper'],
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.
modules/df/df_tools/df_tools_translation/df_tools_translation.scenarios.inc 2 patches
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.
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -41,8 +41,7 @@  discard block
 block discarded – undo
41 41
   // Prefer UUIDs to other fields.
42 42
   if (in_array('UUID', $ids, TRUE)) {
43 43
     $id_map = ['uuid', 'UUID'];
44
-  }
45
-  else {
44
+  } else {
46 45
     foreach ($processes as $field => $process) {
47 46
       if (isset($process[0]['source']) && $process[0]['source'] == $ids[0]) {
48 47
         $id_map = [$field, $ids[0]];
@@ -59,8 +58,7 @@  discard block
 block discarded – undo
59 58
   // Create a migrate executable, which we use later to set row values.
60 59
   if (function_exists('drush_log')) {
61 60
     $log = new DrushLogMigrateMessage();
62
-  }
63
-  else {
61
+  } else {
64 62
     $log = new MigrateMessage();
65 63
   }
66 64
 
@@ -106,8 +104,7 @@  discard block
 block discarded – undo
106 104
         if (!$entity->hasTranslation($langcode)) {
107 105
           $entity_values = $entity->toArray();
108 106
           $translation = $entity->addTranslation($langcode, $entity_values);
109
-        }
110
-        else {
107
+        } else {
111 108
           $translation = $entity->getTranslation($langcode);
112 109
         }
113 110
 
Please login to merge, or discard this patch.