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-3.x ( 58d96f...eefe5c )
by Brant
08:17
created
modules/df/df_tools/df_tools_blocks/src/Plugin/migrate/source/HeroBlock.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
 
22 22
   public function prepareRow(Row $row) {
23 23
     if ($image_path = $row->getSourceProperty('Image')) {
24
-      $path = dirname($this->configuration['path']) . '/images/' . $image_path;
24
+      $path = dirname($this->configuration['path']).'/images/'.$image_path;
25 25
 
26 26
       $data = file_get_contents($path);
27 27
       $uri = file_build_uri($image_path);
Please login to merge, or discard this patch.
modules/df/df_tools/df_tools_editor/df_tools_editor.module 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
   foreach ($settings['editor']['formats'] as &$format) {
13 13
     // Swap in our custom JS by adding a pseudo plugin. We do this as we do not
14 14
     // provide a button, which is what traditional CKEditor plugins would do.
15
-    $format['editorSettings']['drupalExternalPlugins']['df_tools_editor'] = base_path() . drupal_get_path('module', 'df_tools_editor') . '/js/df_tools_editor.js';
15
+    $format['editorSettings']['drupalExternalPlugins']['df_tools_editor'] = base_path().drupal_get_path('module', 'df_tools_editor').'/js/df_tools_editor.js';
16 16
     $format['editorSettings']['extraPlugins'] .= ',df_tools_editor';
17 17
   }
18 18
 }
Please login to merge, or discard this patch.
df_tools_display/src/Plugin/DisplayVariant/LandingDisplayVariant.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
     }
47 47
 
48 48
     // Append the prefix before buildRegions.
49
-    $build['landing-top']['#prefix'] = '<div class="landing-display-' . $class . '">';
49
+    $build['landing-top']['#prefix'] = '<div class="landing-display-'.$class.'">';
50 50
 
51 51
     // Build the regions via PageBlockDisplayVariant::buildRegions.
52 52
     $build = parent::buildRegions($build);
Please login to merge, or discard this patch.
modules/df/df_tools/df_tools_slideshow/df_tools_slideshow.module 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
  */
11 11
 function df_tools_slideshow_migration_plugins_alter(&$definitions) {
12 12
   // Set up base path.
13
-  $path = dirname(__FILE__) . '/data/';
13
+  $path = dirname(__FILE__).'/data/';
14 14
 
15 15
   $migration = _df_migration_copy($definitions['import_block_base'], 'block', 'slideshow', 'block_content', $path);
16 16
   // Add our custom fields.
Please login to merge, or discard this patch.
modules/df/df_tools/df_tools_translation/df_tools_translation.batch.inc 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-include_once drupal_get_path('module', 'locale') . '/locale.bulk.inc';
4
-include_once drupal_get_path('module', 'locale') . '/locale.batch.inc';
3
+include_once drupal_get_path('module', 'locale').'/locale.bulk.inc';
4
+include_once drupal_get_path('module', 'locale').'/locale.batch.inc';
Please login to merge, or discard this patch.
modules/df/df_tools/df_tools_map/df_tools_map.views.inc 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -10,13 +10,13 @@
 block discarded – undo
10 10
   foreach ($geofield_map as $entity_type_id => $fields) {
11 11
     foreach ($fields as $field_name => $info) {
12 12
       $args = array('@field_name' => $field_name);
13
-      $data_key = $entity_type_id . '__' . $field_name;
13
+      $data_key = $entity_type_id.'__'.$field_name;
14 14
 
15 15
       $field_coordinates_table_data = $data[$data_key][$field_name];
16
-      $data[$data_key][$data_key . '_simple_proximity'] = [
16
+      $data[$data_key][$data_key.'_simple_proximity'] = [
17 17
         'group' => 'Content',
18 18
         'title' => t('Simple Proximity (@field_name)', $args),
19
-        'title short' => $field_coordinates_table_data['title short'] . t(' Simple Proximity'),
19
+        'title short' => $field_coordinates_table_data['title short'].t(' Simple Proximity'),
20 20
         'help' => $field_coordinates_table_data['help'],
21 21
         'real field' => $field_name,
22 22
         'filter' => [
Please login to merge, or discard this patch.
df/df_tools/df_tools_map/src/Plugin/views/filter/SimpleProximity.php 1 patch
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -56,9 +56,9 @@  discard block
 block discarded – undo
56 56
     // Don't show this element in the context of an admin menu.
57 57
     if (!isset($form['admin_label'])) {
58 58
       $form['value']['#suffix'] =
59
-        '<a class="simple-proximity-location-button button" title="' . $this->t('Use your current location') . '">' .
60
-        '  <i class="fa fa-map-marker" aria-hidden="true"></i>' .
61
-        '</a>' . $form['value']['#suffix'];
59
+        '<a class="simple-proximity-location-button button" title="'.$this->t('Use your current location').'">'.
60
+        '  <i class="fa fa-map-marker" aria-hidden="true"></i>'.
61
+        '</a>'.$form['value']['#suffix'];
62 62
       $form['value']['#attached'] = ['library' => ['df_tools_map/main']];
63 63
     }
64 64
   }
@@ -109,15 +109,15 @@  discard block
 block discarded – undo
109 109
 
110 110
     // Geocode the location if it's present.
111 111
     if (!empty($location)) {
112
-      if ($collection = \Drupal::service('geocoder')->geocode($location,['googlemaps'])) {
112
+      if ($collection = \Drupal::service('geocoder')->geocode($location, ['googlemaps'])) {
113 113
         $coordinates = $collection->first()->getCoordinates();
114 114
 
115 115
         // Generate a distance formula programatically.
116 116
         $haversine_options = [
117 117
           'origin_latitude' => $coordinates->getLatitude(),
118 118
           'origin_longitude' => $coordinates->getLongitude(),
119
-          'destination_latitude' => $this->table . '.' . $this->realField . '_lat',
120
-          'destination_longitude' => $this->table . '.' . $this->realField . '_lon',
119
+          'destination_latitude' => $this->table.'.'.$this->realField.'_lat',
120
+          'destination_longitude' => $this->table.'.'.$this->realField.'_lon',
121 121
           'earth_radius' => GEOFIELD_KILOMETERS,
122 122
         ];
123 123
 
@@ -125,13 +125,13 @@  discard block
 block discarded – undo
125 125
 
126 126
         /** @var \Drupal\views\Plugin\views\query\Sql $query */
127 127
         $query = $this->query;
128
-        $query->addOrderBy(NULL, $formula, 'ASC', $this->table . '_simple_proximity');
128
+        $query->addOrderBy(NULL, $formula, 'ASC', $this->table.'_simple_proximity');
129 129
 
130 130
         // Add a where expression if a distance is used.
131 131
         if ($this->options['expose']['distance']) {
132 132
           $distance = $this->options['expose']['distance'];
133
-          $placeholder = $query->placeholder($this->table . '_simple_proximity');
134
-          $query->addWhereExpression(0, '(' . $formula . ' <= ' . $placeholder . ')', [$placeholder => $distance]);
133
+          $placeholder = $query->placeholder($this->table.'_simple_proximity');
134
+          $query->addWhereExpression(0, '('.$formula.' <= '.$placeholder.')', [$placeholder => $distance]);
135 135
         }
136 136
       }
137 137
     }
@@ -149,10 +149,10 @@  discard block
 block discarded – undo
149 149
 
150 150
     foreach ($options as $key => $option) {
151 151
       if (is_numeric($option)) {
152
-        $formula = str_replace(':' . $key, $option, $formula);
152
+        $formula = str_replace(':'.$key, $option, $formula);
153 153
       }
154 154
       else {
155
-        $formula = str_replace(':' . $key, db_escape_field($option), $formula);
155
+        $formula = str_replace(':'.$key, db_escape_field($option), $formula);
156 156
       }
157 157
     }
158 158
 
Please login to merge, or discard this patch.
modules/df/df_tools/df_tools_map/src/Plugin/migrate/source/MapBlock.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
   public function prepareRow(Row $row) {
18 18
     // Prefix the state per the normal Address schema.
19 19
     if ($state = $row->getSourceProperty('Address State')) {
20
-      $row->setSourceProperty('Address State', 'US-' . $state);
20
+      $row->setSourceProperty('Address State', 'US-'.$state);
21 21
     }
22 22
 
23 23
     // Use a cached geolocation if possible.
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
       $zip = $row->getSourceProperty('Address Zip');
35 35
 
36 36
       if ($address && $city && $zip && $state) {
37
-        $address2 = $address2 ? $address2 . "\n" : '';
37
+        $address2 = $address2 ? $address2."\n" : '';
38 38
         $address_string = "$address\n$address2$city, $state $zip\nUS";
39 39
         if ($collection = \Drupal::service('geocoder')->geocode($address_string, ['googlemaps'])) {
40 40
           // Set our value in a similar way to Geofield's LatLon Widget.
Please login to merge, or discard this patch.
modules/df/df_tools/df_tools_frontend/df_tools_frontend.module 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,6 +6,6 @@
 block discarded – undo
6 6
 function df_tools_frontend_library_info_alter(&$libraries, $extension) {
7 7
   if ($extension == 'image') {
8 8
     $path = drupal_get_path('module', 'df_tools_frontend');
9
-    $libraries['quickedit.inPlaceEditor.image']['js']['/' . $path . '/js/quickedit_image_browser.js'] = [];
9
+    $libraries['quickedit.inPlaceEditor.image']['js']['/'.$path.'/js/quickedit_image_browser.js'] = [];
10 10
   }
11 11
 }
Please login to merge, or discard this patch.