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.

Code Duplication    Length = 25-25 lines in 2 locations

modules/dfs/dfs_med/dfs_med.nodes.episode.inc 1 location

@@ 75-99 (lines=25) @@
72
73
}
74
75
class DFSMEDEpisodeVideo extends Migration {
76
  public function __construct($arguments) {
77
    parent::__construct($arguments);
78
    $this->map = new MigrateSQLMap($this->machineName,
79
      array(
80
        'video' => array(
81
          'type' => 'varchar',
82
          'length' => 255,
83
          'not null' => TRUE,
84
        ),
85
      ),
86
      MigrateDestinationFile::getKeySchema()
87
    );
88
    $this->destination = new MigrateDestinationFile('video', 'MigrateExtrasFileYoutube');
89
    $import_path = drupal_get_path('module', 'dfs_med') . '/import/';
90
    $this->source = new MigrateSourceCSV($import_path . 'dfs_med.nodes.episode.csv', $this->csvcolumns(), array('header_rows' => 1));
91
    $this->addFieldMapping('value', 'video');
92
   }
93
94
  function csvcolumns() {
95
    $columns[10] = array('video', 'Video');
96
    return $columns;
97
  }
98
99
}
100

modules/dfs/dfs_wem/dfs_wem.nodes.wem_news.inc 1 location

@@ 52-76 (lines=25) @@
49
50
}
51
52
class DFSWEMNewsVideo extends Migration {
53
  public function __construct($arguments) {
54
    parent::__construct($arguments);
55
    $this->map = new MigrateSQLMap($this->machineName,
56
      array(
57
        'video' => array(
58
          'type' => 'varchar',
59
          'length' => 255,
60
          'not null' => TRUE,
61
        ),
62
      ),
63
      MigrateDestinationFile::getKeySchema()
64
    );
65
    $this->destination = new MigrateDestinationFile('video', 'MigrateExtrasFileYoutube');
66
    $import_path = drupal_get_path('module', 'dfs_wem') . '/import/';
67
    $this->source = new MigrateSourceCSV($import_path . 'dfs_wem.nodes.wem_news.csv', $this->csvcolumns(), array('header_rows' => 1));
68
    $this->addFieldMapping('value', 'video');
69
   }
70
71
  function csvcolumns() {
72
    $columns[3] = array('video', 'Video');
73
    return $columns;
74
  }
75
76
}
77
78