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.
Test Setup Failed
Push — sitestudio723 ( 771659 )
by Kevin
13:01
created
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.
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.
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.
RoboFile.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
    * @return \Robo\Contract\TaskInterface
40 40
    *   The task to execute.
41 41
    */
42
-  public function configureBehat ($base_url = NULL) {
42
+  public function configureBehat($base_url = NULL) {
43 43
     $configuration = [];
44 44
 
45 45
     /** @var Finder $partials */
Please login to merge, or discard this patch.
df/df_tools/df_tools_article/src/Plugin/Block/ArticleNodeEndpointBlock.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -56,12 +56,12 @@
 block discarded – undo
56 56
     $build = array();
57 57
     global $base_url;
58 58
     header('Content-Type: application/json');
59
-    $json_output = (string) $this->httpClient->get($base_url . '/api/node/article')->getBody();
59
+    $json_output = (string) $this->httpClient->get($base_url.'/api/node/article')->getBody();
60 60
     $json_pretty = json_encode(json_decode($json_output), JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES);
61 61
     $json_indented_by_2 = preg_replace('/^(  +?)\\1(?=[^ ])/m', '$1', $json_pretty);
62 62
     $build['article_node_endpoint_block']['#markup'] = '<div id="api-demo"><a class="btn btn-primary button button--primary coh-style-link-button coh-style-link-button-color open-apiModal" href="#open">Expand API Response</a>
63
-    <div class="apiResponse"><pre><code class="language-json">' . $json_indented_by_2 . '</code></pre></div>
64
-    <div class="apiResponseModal"><pre><code class="language-json">' . $json_indented_by_2 . '</code></pre></div></div>';
63
+    <div class="apiResponse"><pre><code class="language-json">' . $json_indented_by_2.'</code></pre></div>
64
+    <div class="apiResponseModal"><pre><code class="language-json">' . $json_indented_by_2.'</code></pre></div></div>';
65 65
     $build['article_node_endpoint_block']['#attached']['library'][] = 'df_tools_article/main';
66 66
     return $build;
67 67
   }
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
   }
@@ -110,15 +110,15 @@  discard block
 block discarded – undo
110 110
     // Geocode the location if it's present.
111 111
     if (!empty($location)) {
112 112
       $provider = \Drupal::entityTypeManager()->getStorage('geocoder_provider')->load('googlemaps');
113
-      if ($collection = \Drupal::service('geocoder')->geocode($location,[$provider])) {
113
+      if ($collection = \Drupal::service('geocoder')->geocode($location, [$provider])) {
114 114
         $coordinates = $collection->first()->getCoordinates();
115 115
 
116 116
         // Generate a distance formula programatically.
117 117
         $haversine_options = [
118 118
           'origin_latitude' => $coordinates->getLatitude(),
119 119
           'origin_longitude' => $coordinates->getLongitude(),
120
-          'destination_latitude' => $this->table . '.' . $this->realField . '_lat',
121
-          'destination_longitude' => $this->table . '.' . $this->realField . '_lon',
120
+          'destination_latitude' => $this->table.'.'.$this->realField.'_lat',
121
+          'destination_longitude' => $this->table.'.'.$this->realField.'_lon',
122 122
           'earth_radius' => GEOFIELD_KILOMETERS,
123 123
         ];
124 124
 
@@ -126,13 +126,13 @@  discard block
 block discarded – undo
126 126
 
127 127
         /** @var \Drupal\views\Plugin\views\query\Sql $query */
128 128
         $query = $this->query;
129
-        $query->addOrderBy(NULL, $formula, 'ASC', $this->table . '_simple_proximity');
129
+        $query->addOrderBy(NULL, $formula, 'ASC', $this->table.'_simple_proximity');
130 130
 
131 131
         // Add a where expression if a distance is used.
132 132
         if ($this->options['expose']['distance']) {
133 133
           $distance = $this->options['expose']['distance'];
134
-          $placeholder = $query->placeholder($this->table . '_simple_proximity');
135
-          $query->addWhereExpression(0, '(' . $formula . ' <= ' . $placeholder . ')', [$placeholder => $distance]);
134
+          $placeholder = $query->placeholder($this->table.'_simple_proximity');
135
+          $query->addWhereExpression(0, '('.$formula.' <= '.$placeholder.')', [$placeholder => $distance]);
136 136
         }
137 137
       }
138 138
     }
@@ -151,10 +151,10 @@  discard block
 block discarded – undo
151 151
 
152 152
     foreach ($options as $key => $option) {
153 153
       if (is_numeric($option)) {
154
-        $formula = str_replace(':' . $key, $option, $formula);
154
+        $formula = str_replace(':'.$key, $option, $formula);
155 155
       }
156 156
       else {
157
-        $formula = str_replace(':' . $key, $connection->escapeField($option), $formula);
157
+        $formula = str_replace(':'.$key, $connection->escapeField($option), $formula);
158 158
       }
159 159
     }
160 160
 
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::service('extension.list.module')->getPath('locale') . '/locale.bulk.inc';
4
-include_once \Drupal::service('extension.list.module')->getPath('locale') . '/locale.batch.inc';
3
+include_once \Drupal::service('extension.list.module')->getPath('locale').'/locale.bulk.inc';
4
+include_once \Drupal::service('extension.list.module')->getPath('locale').'/locale.batch.inc';
Please login to merge, or discard this patch.
modules/df/df_tools/df_tools_translation/df_tools_translation.module 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
   batch_set($batch);
72 72
   // Set a batch to update configuration as well.
73 73
   if ($batch = locale_config_batch_update_components($options, $langcodes)) {
74
-    $batch['file'] = \Drupal::service('extension.list.module')->getPath('df_tools_translation') . '/df_tools_translation.batch.inc';
74
+    $batch['file'] = \Drupal::service('extension.list.module')->getPath('df_tools_translation').'/df_tools_translation.batch.inc';
75 75
     batch_set($batch);
76 76
   }
77 77
 }
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
 
98 98
   // Import each file.
99 99
   foreach ($langcodes as $langcode) {
100
-    $filepath = DRUPAL_ROOT . '/' . $path . '/translations/' . $langcode . '.po';
100
+    $filepath = DRUPAL_ROOT.'/'.$path.'/translations/'.$langcode.'.po';
101 101
     if (file_exists($filepath)) {
102 102
       \Drupal::moduleHandler()->loadInclude('locale', 'bulk.inc');
103 103
       \Drupal::moduleHandler()->loadInclude('locale', 'translation.inc');
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
       ]);
112 112
 
113 113
       $original_file = (object) [
114
-        'filename' => $langcode . '.po',
114
+        'filename' => $langcode.'.po',
115 115
         'uri' => $filepath
116 116
       ];
117 117
       $file = locale_translate_file_attach_properties($original_file, $options);
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
     $path = \Drupal::service('path.current')->getPath();
131 131
     $language = $variables['language']->getId();
132 132
     $alias = \Drupal::service('path_alias.manager')->getAliasByPath($path, $language);
133
-    $url = Url::fromUri('internal:/' . $alias);
133
+    $url = Url::fromUri('internal:/'.$alias);
134 134
     $name = t($variables['language']->getName());
135 135
     $link = Link::fromTextAndUrl($name, $url)->toString();
136 136
     $variables['language_current_link'] = $link;
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
       if ($langcode == 'en') {
159 159
         $langcode = '';
160 160
       }
161
-      $url = Url::fromUri('base:/' . $langcode . $alias);
161
+      $url = Url::fromUri('base:/'.$langcode.$alias);
162 162
       $current_name = t($language->getName());
163 163
       $links[] = Link::fromTextAndUrl($current_name, $url)->toString();
164 164
     }
Please login to merge, or discard this patch.