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
Branch 8.x-2.x (31058f)
by Brant
03:48
created
modules/df/df_tools/df_tools_panelizer/df_tools_panelizer.drush.inc 2 patches
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,8 +55,7 @@
 block discarded – undo
55 55
 
56 56
     drupal_set_message(t('Successfully exported Panelizer display for Node @nid to @panels_file', ['@nid' => $node->id(), '@panels_file' => $panels_file]));
57 57
     return TRUE;
58
-  }
59
-  else {
58
+  } else {
60 59
     drupal_set_message(t('The given Node is not Panelized.'), 'error');
61 60
     return FALSE;
62 61
   }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
     }
50 50
 
51 51
     // Write YAML to a file.
52
-    $panels_file = $base_path . '/data/panelizer.panels_display.node.'.$node->uuid() . '.yml';
52
+    $panels_file = $base_path.'/data/panelizer.panels_display.node.'.$node->uuid().'.yml';
53 53
     $configuration = \Drupal::service('panelizer')->getPanelsDisplay($node, 'full')->getConfiguration();
54 54
     $yaml = \Symfony\Component\Yaml\Yaml::dump($configuration, 99, 2);
55 55
     file_put_contents($panels_file, $yaml);
Please login to merge, or discard this patch.
modules/dfs/dfs_tec/src/Plugin/migrate/source/EmployeeNode.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
 
22 22
   public function prepareRow(Row $row) {
23 23
     if ($image_path = $row->getSourceProperty('Headshot')) {
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);
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
       $links_raw = explode(',', $value);
34 34
       $links = [];
35 35
       foreach ($links_raw as $link) {
36
-          list($uri,$title) = explode('|', $link);
36
+          list($uri, $title) = explode('|', $link);
37 37
           $links[] = [
38 38
             'uri' => $uri,
39 39
             'title' => $title,
Please login to merge, or discard this patch.
modules/dfs/dfs_tec/src/Plugin/migrate/source/ServiceNode.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('Hero 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_panelizer/df_tools_panelizer.module 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
   /** @var Drupal\migrate_source_csv\CSVFileObject $iterator */
19 19
   $iterator = $source->initializeIterator();
20 20
   $base_path = $iterator->getPath();
21
-  $filename = $base_path . '/' . $iterator->getFilename();
21
+  $filename = $base_path.'/'.$iterator->getFilename();
22 22
 
23 23
   $destination = $migration->getDestinationPlugin();
24 24
   $entity_type = explode(':', $destination->getPluginId())[1];
@@ -69,14 +69,14 @@  discard block
 block discarded – undo
69 69
         $entity = $entity_storage->load($id);
70 70
 
71 71
         // See if a Panelizer config file exists for this Node.
72
-        $panels_file = $base_path . '/panelizer.panels_display.' . $entity_type . '.' . $entity->uuid() . '.yml';
72
+        $panels_file = $base_path.'/panelizer.panels_display.'.$entity_type.'.'.$entity->uuid().'.yml';
73 73
         if (file_exists($panels_file) && isset($entity->panelizer)) {
74 74
           $yaml = file_get_contents($panels_file);
75 75
 
76 76
           $panels_display = \Symfony\Component\Yaml\Yaml::parse($yaml);
77 77
 
78 78
           // The storage ID isn't based on UUIDs, unfortunately. Hotswap it with current info.
79
-          $panels_display['storage_id'] = $entity_type . ':' . $entity->id() . ':full:' . $entity->getRevisionId();
79
+          $panels_display['storage_id'] = $entity_type.':'.$entity->id().':full:'.$entity->getRevisionId();
80 80
 
81 81
           // Set the Panels Display to match what's defined in YAML.
82 82
           $entity->panelizer->panels_display = $panels_display;
Please login to merge, or discard this patch.
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.
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 2 patches
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.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,8 +40,7 @@
 block discarded – undo
40 40
       $widget_form['#title'] = '';
41 41
       $widget_form['entity_id']['#title'] = t('Existing slide');
42 42
       $widget_form['actions']['ief_reference_save']['#value'] = t('Add');
43
-    }
44
-    else {
43
+    } else {
45 44
       $widget_form['inline_entity_form']['#ief_labels']['singular'] = 'slide';
46 45
     }
47 46
   }
Please login to merge, or discard this patch.
modules/df/df_tools/df_tools_config/df_tools_config.drush.inc 2 patches
Braces   +6 added lines, -12 removed lines patch added patch discarded remove patch
@@ -41,8 +41,7 @@  discard block
 block discarded – undo
41 41
     if (empty($destination)) {
42 42
       return drush_user_abort();
43 43
     }
44
-  }
45
-  elseif (!isset($destination)) {
44
+  } elseif (!isset($destination)) {
46 45
     $destination = CONFIG_SYNC_DIRECTORY;
47 46
   }
48 47
   $destination_dir = config_get_config_directory($destination);
@@ -84,13 +83,11 @@  discard block
 block discarded – undo
84 83
               $destination = $destination_dir . basename($source);
85 84
               if (!copy($source, $destination)) {
86 85
                 drush_log(dt('New copy from @source to @destination failed.', ['@source' => $source, '@destination' => $destination]), LogLevel::ERROR);
87
-              }
88
-              else {
86
+              } else {
89 87
                 _df_tools_config_strip_uuid($destination);
90 88
                 drush_log(dt('Successfully created @config.', ['@config' => $config]), LogLevel::OK);
91 89
               }
92
-            }
93
-            catch (InvalidArgumentException $e) {
90
+            } catch (InvalidArgumentException $e) {
94 91
               drush_log(dt('Module @input does not exist or is not enabled.', ['@input' => $input]), LogLevel::ERROR);
95 92
             }
96 93
           }
@@ -105,8 +102,7 @@  discard block
 block discarded – undo
105 102
               $destination = $instances[$choice];
106 103
               if (!copy($source, $destination)) {
107 104
                 drush_log(dt('Copy from @source to @destination failed.', ['@source' => $source, '@destination' => $destination]), LogLevel::ERROR);
108
-              }
109
-              else {
105
+              } else {
110 106
                 _df_tools_config_strip_uuid($destination);
111 107
                 drush_log(dt('Successfully copied @config.', ['@config' => $config]), LogLevel::OK);
112 108
               }
@@ -120,8 +116,7 @@  discard block
 block discarded – undo
120 116
             if ($choice !== FALSE) {
121 117
               if (!unlink($instances[$choice])) {
122 118
                 drush_log(dt('Deletion of @path failed.', ['@path' => $instances[$choice]]), LogLevel::ERROR);
123
-              }
124
-              else {
119
+              } else {
125 120
                 drush_log(dt('Successfully deleted @config.', ['@config' => $config]), LogLevel::OK);
126 121
               }
127 122
             }
@@ -221,8 +216,7 @@  discard block
 block discarded – undo
221 216
       file_put_contents($filepath, implode($file));
222 217
     }
223 218
     return TRUE;
224
-  }
225
-  else {
219
+  } else {
226 220
     return FALSE;
227 221
   }
228 222
 }
Please login to merge, or discard this patch.
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -76,13 +76,13 @@  discard block
 block discarded – undo
76 76
             }
77 77
             try {
78 78
               $module_info = \Drupal::moduleHandler()->getModule($input);
79
-              $destination_dir = DRUPAL_ROOT . '/' . $module_info->getPath() . '/config/install/';
80
-              $source = DRUPAL_ROOT . '/' . $destination_storage->getFilePath($config);
79
+              $destination_dir = DRUPAL_ROOT.'/'.$module_info->getPath().'/config/install/';
80
+              $source = DRUPAL_ROOT.'/'.$destination_storage->getFilePath($config);
81 81
               // Create /config/install directory if it does not exist.
82 82
               if (!file_exists($destination_dir)) {
83 83
                 mkdir($destination_dir, 0755, true);
84 84
               }
85
-              $destination = $destination_dir . basename($source);
85
+              $destination = $destination_dir.basename($source);
86 86
               if (!copy($source, $destination)) {
87 87
                 drush_log(dt('New copy from @source to @destination failed.', ['@source' => $source, '@destination' => $destination]), LogLevel::ERROR);
88 88
               }
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
           break;
99 99
         case 'update':
100 100
           foreach ($list as $config) {
101
-            $source = DRUPAL_ROOT . '/' . $destination_storage->getFilePath($config);
101
+            $source = DRUPAL_ROOT.'/'.$destination_storage->getFilePath($config);
102 102
 
103 103
             $instances = _df_tools_config_find_config_instances($destination_storage, $config);
104 104
             $choice = drush_choice($instances, dt('Choose update destination for @config.', ['@config' => $config]));
@@ -152,8 +152,8 @@  discard block
 block discarded – undo
152 152
 
153 153
   $iterator = new RecursiveDirectoryIterator(DRUPAL_ROOT, FilesystemIterator::FOLLOW_SYMLINKS);
154 154
   $files = [];
155
-  foreach(new RecursiveIteratorIterator($iterator) as $file){
156
-    if(strpos($file, $filename) !== FALSE && strpos($file, DRUPAL_ROOT . '/sites/') === FALSE){
155
+  foreach (new RecursiveIteratorIterator($iterator) as $file) {
156
+    if (strpos($file, $filename) !== FALSE && strpos($file, DRUPAL_ROOT.'/sites/') === FALSE) {
157 157
       $files[] = (string) $file;
158 158
     }
159 159
   }
Please login to merge, or discard this patch.
themes/dfs_base/layouts/onecoltabs/onecoltabs.inc 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
   'theme' => 'fin_onecoltabs',
12 12
   'css' => 'onecoltabs.css',
13 13
   'regions' => array(
14
-  	'top' => t('Top region'),
15
-  	'tabs'   => t('Tabbed region')
16
-  	),
14
+    'top' => t('Top region'),
15
+    'tabs'   => t('Tabbed region')
16
+    ),
17 17
 );
Please login to merge, or discard this patch.