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 = 7-11 lines in 2 locations

classes/template/TemplateHandler.class.php 2 locations

@@ 605-611 (lines=7) @@
602
			$attr = array();
603
			if($m[5])
604
			{
605
				if(preg_match_all('@,(\w+)="([^"]+)"@', $m[6], $mm))
606
				{
607
					foreach($mm[1] as $idx => $name)
608
					{
609
						$attr[$name] = $mm[2][$idx];
610
					}
611
				}
612
				$attr['target'] = $m[5];
613
			}
614
			else
@@ 614-624 (lines=11) @@
611
				}
612
				$attr['target'] = $m[5];
613
			}
614
			else
615
			{
616
				if(!preg_match_all('@ (\w+)="([^"]+)"@', $m[6], $mm))
617
				{
618
					return $m[0];
619
				}
620
				foreach($mm[1] as $idx => $name)
621
				{
622
					$attr[$name] = $mm[2][$idx];
623
				}
624
			}
625
626
			switch($m[3])
627
			{