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

@@ 796-802 (lines=7) @@
793
			$attr = array();
794
			if($m[5])
795
			{
796
				if(preg_match_all('@,(\w+)="([^"]+)"@', $m[6], $mm))
797
				{
798
					foreach($mm[1] as $idx => $name)
799
					{
800
						$attr[$name] = $mm[2][$idx];
801
					}
802
				}
803
				$attr['target'] = $m[5];
804
			}
805
			else
@@ 805-815 (lines=11) @@
802
				}
803
				$attr['target'] = $m[5];
804
			}
805
			else
806
			{
807
				if(!preg_match_all('@ (\w+)="([^"]+)"@', $m[6], $mm))
808
				{
809
					return $m[0];
810
				}
811
				foreach($mm[1] as $idx => $name)
812
				{
813
					$attr[$name] = $mm[2][$idx];
814
				}
815
			}
816
817
			switch($m[3])
818
			{