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 ( 336e2b...aaf4f9 )
by Devin
04:05
created
modules/df/df_tools/df_tools_media/src/Plugin/migrate/source/MediaImage.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,8 +20,8 @@
 block discarded – undo
20 20
         ->getStorage('file')->loadByProperties(['filename' => $image]);
21 21
 
22 22
       if (empty($files)) {
23
-        $base_path = dirname($this->configuration['path']) . '/images/';
24
-        $path = $base_path . $image;
23
+        $base_path = dirname($this->configuration['path']).'/images/';
24
+        $path = $base_path.$image;
25 25
         $data = file_get_contents($path);
26 26
         $uri = file_build_uri($image);
27 27
         $file = file_save_data($data, $uri);
Please login to merge, or discard this patch.
modules/df/df_tools/df_tools_panelizer/df_tools_panelizer.module 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
   /** @var Drupal\migrate_source_csv\CSVFileObject $iterator */
23 23
   $iterator = $source->initializeIterator();
24 24
   $base_path = $iterator->getPath();
25
-  $filename = $base_path . '/' . $iterator->getFilename();
25
+  $filename = $base_path.'/'.$iterator->getFilename();
26 26
 
27 27
   $destination = $migration->getDestinationPlugin();
28 28
   $entity_type = explode(':', $destination->getPluginId())[1];
@@ -73,14 +73,14 @@  discard block
 block discarded – undo
73 73
         $entity = $entity_storage->load($id);
74 74
 
75 75
         // See if a Panelizer config file exists for this Node.
76
-        $panels_file = $base_path . '/panelizer.panels_display.' . $entity_type . '.' . $entity->uuid() . '.yml';
76
+        $panels_file = $base_path.'/panelizer.panels_display.'.$entity_type.'.'.$entity->uuid().'.yml';
77 77
         if (file_exists($panels_file) && isset($entity->panelizer)) {
78 78
           $yaml = file_get_contents($panels_file);
79 79
 
80 80
           $panels_display = Yaml::parse($yaml);
81 81
 
82 82
           // The storage ID isn't based on UUIDs, unfortunately. Hotswap it with current info.
83
-          $panels_display['storage_id'] = $entity_type . ':' . $entity->id() . ':full:' . $entity->getRevisionId();
83
+          $panels_display['storage_id'] = $entity_type.':'.$entity->id().':full:'.$entity->getRevisionId();
84 84
 
85 85
           // Set the Panels Display to match what's defined in YAML.
86 86
           $entity->panelizer->panels_display = $panels_display;
Please login to merge, or discard this patch.
src/IniEncoder.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -43,12 +43,12 @@  discard block
 block discarded – undo
43 43
         }
44 44
         else {
45 45
           foreach ($value as $j) {
46
-            $output[] = $this->keysToString($keys) . '[] = ' . $j;
46
+            $output[] = $this->keysToString($keys).'[] = '.$j;
47 47
           }
48 48
         }
49 49
       }
50 50
       else {
51
-        $output[] = $this->keysToString($keys) . ' = ' . $value;
51
+        $output[] = $this->keysToString($keys).' = '.$value;
52 52
       }
53 53
 
54 54
       array_pop($keys);
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
   protected function keysToString(array $keys) {
70 70
     $head = array_shift($keys);
71 71
     if ($keys) {
72
-      return $head . '[' . implode('][', $keys) . ']';
72
+      return $head.'['.implode('][', $keys).']';
73 73
     }
74 74
     else {
75 75
       return $head;
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
         foreach (['key', 'value1', 'value2', 'value3'] as $var) {
124 124
           $$var = isset($match[++$i]) ? $match[$i] : '';
125 125
         }
126
-        $value = stripslashes(substr($value1, 1, -1)) . stripslashes(substr($value2, 1, -1)) . $value3;
126
+        $value = stripslashes(substr($value1, 1, -1)).stripslashes(substr($value2, 1, -1)).$value3;
127 127
 
128 128
         // Parse array syntax.
129 129
         $keys = preg_split('/\]?\[/', rtrim($key, ']'));
Please login to merge, or discard this patch.
src/Composer/PatchedConstraint.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
     /** @var \Composer\Package\Link $package */
29 29
     foreach ($patched_dependencies as $package) {
30 30
       if (static::packageIsUnpinned($package)) {
31
-        $error[] = $package->getTarget() . ': ' . $package->getPrettyConstraint();
31
+        $error[] = $package->getTarget().': '.$package->getPrettyConstraint();
32 32
       }
33 33
     }
34 34
     if (!empty($error)) {
Please login to merge, or discard this patch.
src/Plugin/Field/FieldFormatter/PanelizerThumbnailFormatter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -284,7 +284,7 @@
 block discarded – undo
284 284
       }
285 285
       else if ($referenced_entity instanceof MediaInterface) {
286 286
         if ($depth < self::DEPTH_LIMIT && $file = $this->getFileFromEntity($referenced_entity)) {
287
-          $return =  $file;
287
+          $return = $file;
288 288
         }
289 289
       }
290 290
     }
Please login to merge, or discard this patch.
modules/df/df_tools/df_tools_media/src/Plugin/Block/MediaEmbedBlock.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -139,7 +139,7 @@
 block discarded – undo
139 139
       $selection['table'][$mid] = [
140 140
         '#attributes' => [
141 141
           'class' => ['draggable'],
142
-          'data-entity-id' => $media->getEntityTypeId() . ':' . $mid,
142
+          'data-entity-id' => $media->getEntityTypeId().':'.$mid,
143 143
         ],
144 144
         'title' => ['#markup' => $media->label()],
145 145
         'type' => ['#markup' => $bundle_info[$media->bundle()]['label']],
Please login to merge, or discard this patch.
src/DFExtension/Context/MiscellaneousContext.behat.inc 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
 
58 58
     /** @var \Acquia\LightningExtension\Context\UtilityContext $utility */
59 59
     $utility = $this->getContext(UtilityContext::class);
60
-    $utility->acceptAlerts(function () {
60
+    $utility->acceptAlerts(function() {
61 61
       $this->awaitAjax();
62 62
     });
63 63
   }
Please login to merge, or discard this patch.
df/df_tools/df_tools_map/src/Plugin/Field/FieldWidget/SimpleGeocoder.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -181,11 +181,11 @@
 block discarded – undo
181 181
       // Check if this field is an Address field.
182 182
       if (isset($address['address_line1'])) {
183 183
         // Format the address as a single string.
184
-        $string .= $address['address_line1'] . "\n";
185
-        $string .= !empty($address['address_line2']) ? $address['address_line2'] . "\n" : '';
186
-        $string .= $address['locality'] . ', ';
187
-        $string .= str_replace('US-', '', $address['administrative_area']) . ' ';
188
-        $string .= $address['postal_code'] . "\n";
184
+        $string .= $address['address_line1']."\n";
185
+        $string .= !empty($address['address_line2']) ? $address['address_line2']."\n" : '';
186
+        $string .= $address['locality'].', ';
187
+        $string .= str_replace('US-', '', $address['administrative_area']).' ';
188
+        $string .= $address['postal_code']."\n";
189 189
         $string .= $address['country_code'];
190 190
       }
191 191
 
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.