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

component/admin/models/packagefile.php 2 locations

@@ 375-386 (lines=12) @@
372
			$administrator = array();
373
			$site          = array();
374
375
			foreach ($data['translations'] as $translation)
376
			{
377
				if (preg_match('/^site_(.*)$/', $translation, $matches))
378
				{
379
					$site[] = $matches[1];
380
				}
381
382
				if (preg_match('/^administrator_(.*)$/', $translation, $matches))
383
				{
384
					$administrator[] = $matches[1];
385
				}
386
			}
387
388
			// Add the site language files
389
			if (count($site))
@@ 613-624 (lines=12) @@
610
			}
611
		}
612
613
		foreach ($data['translations'] as $translation)
614
		{
615
			if (preg_match('/^site_(.*)$/', $translation, $matches))
616
			{
617
				$site[] = $matches[1];
618
			}
619
620
			if (preg_match('/^administrator_(.*)$/', $translation, $matches))
621
			{
622
				$administrator[] = $matches[1];
623
			}
624
		}
625
626
		$parts = explode('.', $data['version']);
627
		$small_version = implode('.', array($parts[0],$parts[1]));

component/admin/models/package.php 2 locations

@@ 385-396 (lines=12) @@
382
			$administrator = array();
383
			$site          = array();
384
385
			foreach ($data['translations'] as $translation)
386
			{
387
				if (preg_match('/^site_(.*)$/', $translation, $matches))
388
				{
389
					$site[] = $matches[1];
390
				}
391
392
				if (preg_match('/^administrator_(.*)$/', $translation, $matches))
393
				{
394
					$administrator[] = $matches[1];
395
				}
396
			}
397
398
			// Add the site language files
399
			if (count($site))
@@ 638-649 (lines=12) @@
635
			}
636
		}
637
638
		foreach ($data['translations'] as $translation)
639
		{
640
			if (preg_match('/^site_(.*)$/', $translation, $matches))
641
			{
642
				$site[] = $matches[1];
643
			}
644
645
			if (preg_match('/^administrator_(.*)$/', $translation, $matches))
646
			{
647
				$administrator[] = $matches[1];
648
			}
649
		}
650
651
		$parts = explode('.', $data['version']);
652
		$small_version = implode('.', array($parts[0],$parts[1]));