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 ( cf6d6a...89a15f )
by
unknown
08:23
created
df/df_tools/df_tools_migration/src/Plugin/migrate/process/DeepExplode.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -34,12 +34,10 @@
 block discarded – undo
34 34
           }
35 35
         }
36 36
         return $new_value;
37
-      }
38
-      else {
37
+      } else {
39 38
         throw new MigrateException('delimiter is empty');
40 39
       }
41
-    }
42
-    else {
40
+    } else {
43 41
       throw new MigrateException(sprintf('%s is not a string', var_export($value, TRUE)));
44 42
     }
45 43
   }
Please login to merge, or discard this patch.
modules/df/df_tools/df_tools_migration/df_tools_migration.module 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
 
36 36
   // Point source path to local CSV file.
37 37
   if ($local_csv === TRUE) {
38
-    $migration['source']['path'] = $path . $prefix . "." . $entity_type  . "." . $type . '.csv';
38
+    $migration['source']['path'] = $path.$prefix.".".$entity_type.".".$type.'.csv';
39 39
   }
40 40
 
41 41
   // Set content type to current bundle.
Please login to merge, or discard this patch.
modules/df/df_tools/df_tools_lite/df_tools_lite.module 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
 
23 23
     // Reset the library path to work around a bug with the Libraries module not
24 24
     // incorporating the ['path'] when calling libraries_get_path().
25
-    $libraries['lite']['library path'] = libraries_get_path('lite') . '/' . $libraries['lite']['path'];
25
+    $libraries['lite']['library path'] = libraries_get_path('lite').'/'.$libraries['lite']['path'];
26 26
 
27 27
     // Hardcode the version number because the raw source files do not contain
28 28
     // any version information.
Please login to merge, or discard this patch.
modules/df/df_tools/df_tools_image/src/Form/CreateDerivativesForm.php 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
 
28 28
     $form['description'] = [
29
-      '#markup' => '<p>' . t('Image derivatives can be created in bulk manually to remove the need for Drupal to create them on page load.') . '</p>',
29
+      '#markup' => '<p>'.t('Image derivatives can be created in bulk manually to remove the need for Drupal to create them on page load.').'</p>',
30 30
     ];
31 31
     $form['image_styles'] = [
32 32
       '#type' => 'checkboxes',
Please login to merge, or discard this patch.
modules/df/df_tools/df_tools_message/df_tools_message.module 2 patches
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -41,21 +41,21 @@
 block discarded – undo
41 41
 
42 42
   // Inline the logo image as a data URL.
43 43
   $theme = \Drupal::config('system.theme')->get('default');
44
-  $logo = DRUPAL_ROOT . '/' . theme_get_setting('logo.url', $theme);
44
+  $logo = DRUPAL_ROOT.'/'.theme_get_setting('logo.url', $theme);
45 45
   $mime = \Drupal::service('file.mime_type.guesser')->guess($logo);
46 46
   $allowed_mime = ['image/svg+xml', 'image/png', 'image/jpeg', 'image/gif'];
47 47
   if (in_array($mime, $allowed_mime, TRUE)) {
48 48
     $data = base64_encode(file_get_contents($logo));
49
-    $logo_url = 'data: ' . $mime . ';base64,' . $data;
49
+    $logo_url = 'data: '.$mime.';base64,'.$data;
50 50
   }
51 51
   else {
52 52
     $logo_url = FALSE;
53 53
   }
54 54
 
55 55
   // Use the current theme's template is available.
56
-  $template_file = drupal_get_path('theme', $theme) . '/inky_templates/compiled/styled_email.html.twig';
56
+  $template_file = drupal_get_path('theme', $theme).'/inky_templates/compiled/styled_email.html.twig';
57 57
   if (file_exists($template_file)) {
58
-    $template = str_replace(["'{{","}}'"], ['{{','}}'], file_get_contents($template_file));
58
+    $template = str_replace(["'{{", "}}'"], ['{{', '}}'], file_get_contents($template_file));
59 59
   }
60 60
   else {
61 61
     $template = '{{ message }}';
Please login to merge, or discard this patch.
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -47,8 +47,7 @@  discard block
 block discarded – undo
47 47
   if (in_array($mime, $allowed_mime, TRUE)) {
48 48
     $data = base64_encode(file_get_contents($logo));
49 49
     $logo_url = 'data: ' . $mime . ';base64,' . $data;
50
-  }
51
-  else {
50
+  } else {
52 51
     $logo_url = FALSE;
53 52
   }
54 53
 
@@ -56,8 +55,7 @@  discard block
 block discarded – undo
56 55
   $template_file = drupal_get_path('theme', $theme) . '/inky_templates/compiled/styled_email.html.twig';
57 56
   if (file_exists($template_file)) {
58 57
     $template = str_replace(["'{{","}}'"], ['{{','}}'], file_get_contents($template_file));
59
-  }
60
-  else {
58
+  } else {
61 59
     $template = '{{ message }}';
62 60
   }
63 61
 
Please login to merge, or discard this patch.
df/df_tools/df_tools_message/src/Plugin/RulesAction/SendStyledEmail.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@
 block discarded – undo
104 104
       'format' => $format,
105 105
     ];
106 106
     // Set a unique key for this mail.
107
-    $key = 'rules_action_mail_' . $this->getPluginId();
107
+    $key = 'rules_action_mail_'.$this->getPluginId();
108 108
     $message = $this->mailManager->mail('df_tools_message', $key, $to, LanguageInterface::LANGCODE_NOT_SPECIFIED, $params);
109 109
     if ($message['result']) {
110 110
       $this->logger->notice('Successfully sent styled email to %recipient', ['%recipient' => $to]);
Please login to merge, or discard this patch.
df_tools_tabs/src/Plugin/Field/FieldFormatter/TextWithTabFormatter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
         '#attributes' => [
36 36
           'id' => $this->getFieldId($items, $delta),
37 37
         ],
38
-        '#prefix' => '<h3 class="df-tools-tabs-accordion-title">' . Xss::filter($item->tab_title) . '</h3>',
38
+        '#prefix' => '<h3 class="df-tools-tabs-accordion-title">'.Xss::filter($item->tab_title).'</h3>',
39 39
       ];
40 40
       $elements[$delta][] = [
41 41
         '#type' => 'processed_text',
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
     ];
65 65
 
66 66
     foreach ($items as $delta => $item) {
67
-      $url = Url::fromUri('internal:#' . $this->getFieldId($items, $delta))->toRenderArray();
67
+      $url = Url::fromUri('internal:#'.$this->getFieldId($items, $delta))->toRenderArray();
68 68
       $tabs['#items'][] = [
69 69
         '#type' => 'link',
70 70
         '#title' => $item->tab_title,
Please login to merge, or discard this patch.
modules/df/df_tools/df_tools_user/src/Plugin/Block/UserDropdownBlock.php 2 patches
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -109,13 +109,13 @@
 block discarded – undo
109 109
       $markup = '';
110 110
       $markup .= '<a class="login-dropdown-button standard-icon meta-icon-size left" data-toggle="user-logout-wrapper" aria-controls="user-logout-wrapper" aria-expanded="false">';
111 111
       $markup .= '<i class="icon ion-ios-person"></i>';
112
-      $markup .= '<span> '. $username . '</span>';
112
+      $markup .= '<span> '.$username.'</span>';
113 113
       $markup .= '</a>';
114 114
 
115 115
       $markup .= '<div id="user-logout-wrapper" class="dropdown-pane f-dropdown" data-dropdown aria-hidden="true" aria-autoclose="false" data-auto-focus="false">';
116 116
       $markup .= '<div class="user-links">';
117
-      $markup .= '<a class="" href="' . $user_page_url . '"><i class="icon ion-ios-person"></i> ' . $username . '</a>';
118
-      $markup .= '<a class="logout-button" href="' . $user_logout_url . '"><i class="icon ion-log-out"></i> ' . t('Log Out') . '</a>';
117
+      $markup .= '<a class="" href="'.$user_page_url.'"><i class="icon ion-ios-person"></i> '.$username.'</a>';
118
+      $markup .= '<a class="logout-button" href="'.$user_logout_url.'"><i class="icon ion-log-out"></i> '.t('Log Out').'</a>';
119 119
       $markup .= '</div>';
120 120
       $markup .= '</div>';
121 121
 
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -99,8 +99,7 @@
 block discarded – undo
99 99
       $login_wrapper['form'] = $form;
100 100
 
101 101
       $block['wrapper'] = $login_wrapper;
102
-    }
103
-    else {
102
+    } else {
104 103
       $username = $this->user->getDisplayName();
105 104
       $user_page_url = Url::fromRoute('user.page')->toString();
106 105
       $user_logout_url = Url::fromRoute('user.logout')->toString();
Please login to merge, or discard this patch.
df/df_tools/df_tools_user/src/Plugin/migrate/source/UserFromNodeTitle.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,12 +18,12 @@
 block discarded – undo
18 18
       $first_name = $strings[0];
19 19
       $last_name = $strings[1];
20 20
       $password = \Drupal::service('password')->hash('password');
21
-      $row->setSourceProperty('Name', $first_name . $last_name);
21
+      $row->setSourceProperty('Name', $first_name.$last_name);
22 22
       $row->setSourceProperty('First', $first_name);
23 23
       $row->setSourceProperty('Last', $last_name);
24 24
       $row->setSourceProperty('Pass', $password);
25 25
       $row->setSourceProperty('Status', 1);
26
-      $row->setSourceProperty('Mail', $first_name . $last_name . '@example.com');
26
+      $row->setSourceProperty('Mail', $first_name.$last_name.'@example.com');
27 27
     }
28 28
   }
29 29
 }
Please login to merge, or discard this patch.