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 = 15-15 lines in 4 locations

modules/df/df_engage/df_engage.terms.site_section.inc 1 location

@@ 8-22 (lines=15) @@
5
 *  Migration for Site Section Taxonomy Terms in DF.
6
 */
7
8
class DemoFrameworkSiteSectionTerms extends ImportBaseTerms {
9
10
  public function __construct($arguments) {
11
    parent::__construct($arguments);
12
    $import_path = drupal_get_path('module', 'df_engage') . '/import/';
13
    $this->source = new MigrateSourceCSV($import_path . 'df_engage.terms.site_section.csv', $this->csvcolumns(), array('header_rows' => 1));
14
    $this->destination = new MigrateDestinationTerm('site_section');
15
    $this->addFieldMapping('name', 'name');
16
  }
17
18
  function csvcolumns() {
19
    $columns[0] = array('name', 'Name');
20
    return $columns;
21
  }
22
}
23

modules/dfs/dfs_med/dfs_med.terms.persona.inc 1 location

@@ 8-22 (lines=15) @@
5
 *  Migration for Persona Taxonomy Terms in DFS MED.
6
 */
7
8
class DFSMEDPersonaTerms extends ImportBaseTerms {
9
10
  public function __construct($arguments) {
11
    parent::__construct($arguments);
12
    $import_path = drupal_get_path('module', 'dfs_med') . '/import/';
13
    $this->source = new MigrateSourceCSV($import_path . 'dfs_med.terms.persona.csv', $this->csvcolumns(), array('header_rows' => 1));
14
    $this->destination = new MigrateDestinationTerm('persona');
15
    $this->addFieldMapping('name', 'name');
16
  }
17
18
  function csvcolumns() {
19
    $columns[0] = array('name', 'Name');
20
    return $columns;
21
  }
22
}
23

modules/dfs/dfs_wem/dfs_wem.terms.interests.inc 1 location

@@ 8-22 (lines=15) @@
5
 *  Migration for Interests Taxonomy Terms in DFS WEM.
6
 */
7
8
class DFSWEMInterestsTerms extends ImportBaseTerms {
9
10
  public function __construct($arguments) {
11
    parent::__construct($arguments);
12
    $import_path = drupal_get_path('module', 'dfs_wem') . '/import/';
13
    $this->source = new MigrateSourceCSV($import_path . 'dfs_wem.terms.interests.csv', $this->csvcolumns(), array('header_rows' => 1));
14
    $this->destination = new MigrateDestinationTerm('interests');
15
    $this->addFieldMapping('name', 'name');
16
  }
17
18
  function csvcolumns() {
19
    $columns[0] = array('name', 'Name');
20
    return $columns;
21
  }
22
}
23

modules/dfs/dfs_wem/dfs_wem.terms.persona.inc 1 location

@@ 8-22 (lines=15) @@
5
 *  Migration for Persona Taxonomy Terms in DFS WEM.
6
 */
7
8
class DFSWEMPersonaTerms extends ImportBaseTerms {
9
10
  public function __construct($arguments) {
11
    parent::__construct($arguments);
12
    $import_path = drupal_get_path('module', 'dfs_wem') . '/import/';
13
    $this->source = new MigrateSourceCSV($import_path . 'dfs_wem.terms.persona.csv', $this->csvcolumns(), array('header_rows' => 1));
14
    $this->destination = new MigrateDestinationTerm('persona');
15
    $this->addFieldMapping('name', 'name');
16
  }
17
18
  function csvcolumns() {
19
    $columns[0] = array('name', 'Name');
20
    return $columns;
21
  }
22
}
23