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

classes/security/EmbedFilter.class.php 1 location

@@ 548-579 (lines=32) @@
545
		return FALSE;
546
	}
547
548
	function _checkAllowScriptAccess($m)
549
	{
550
		if($m[1] == 'object')
551
		{
552
			$this->allowscriptaccessList[] = 1;
553
		}
554
555
		if($m[1] == 'param')
556
		{
557
			if(stripos($m[0], 'allowscriptaccess'))
558
			{
559
				$m[0] = '<param name="allowscriptaccess" value="never"';
560
				if(substr($m[0], -1) == '/')
561
				{
562
					$m[0] .= '/';
563
				}
564
				$this->allowscriptaccessList[count($this->allowscriptaccessList) - 1]--;
565
			}
566
		}
567
		else if($m[1] == 'embed')
568
		{
569
			if(stripos($m[0], 'allowscriptaccess'))
570
			{
571
				$m[0] = preg_replace('/always|samedomain/i', 'never', $m[0]);
572
			}
573
			else
574
			{
575
				$m[0] = preg_replace('/\<embed/i', '<embed allowscriptaccess="never"', $m[0]);
576
			}
577
		}
578
		return $m[0];
579
	}
580
581
	function _addAllowScriptAccess($m)
582
	{

modules/document/document.item.php 1 location

@@ 426-457 (lines=32) @@
423
		return $m[0];
424
	}
425
426
	function _checkAllowScriptAccess($m)
427
	{
428
		if($m[1] == 'object')
429
		{
430
			$this->allowscriptaccessList[] = 1;
431
		}
432
433
		if($m[1] == 'param')
434
		{
435
			if(stripos($m[0], 'allowscriptaccess'))
436
			{
437
				$m[0] = '<param name="allowscriptaccess" value="never"';
438
				if(substr($m[0], -1) == '/')
439
				{
440
					$m[0] .= '/';
441
				}
442
				$this->allowscriptaccessList[count($this->allowscriptaccessList)-1]--;
443
			}
444
		}
445
		else if($m[1] == 'embed')
446
		{
447
			if(stripos($m[0], 'allowscriptaccess'))
448
			{
449
				$m[0] = preg_replace('/always|samedomain/i', 'never', $m[0]);
450
			}
451
			else
452
			{
453
				$m[0] = preg_replace('/\<embed/i', '<embed allowscriptaccess="never"', $m[0]);
454
			}
455
		}
456
		return $m[0];
457
	}
458
459
	function getContent($add_popup_menu = true, $add_content_info = true, $resource_realpath = false, $add_xe_content_class = true, $stripEmbedTagException = false)
460
	{